base: Don't double borrow the response in one iter rooms method.

master
Damir Jelić 2020-07-03 12:30:57 +02:00
parent 1f25c4cf4b
commit bd56c52b37
1 changed files with 1 additions and 1 deletions

View File

@ -946,7 +946,7 @@ impl BaseClient {
// when events change state, updated_* signals to StateStore to update database // when events change state, updated_* signals to StateStore to update database
self.iter_joined_rooms(response).await?; self.iter_joined_rooms(response).await?;
self.iter_invited_rooms(&response).await?; self.iter_invited_rooms(response).await?;
self.iter_left_rooms(response).await?; self.iter_left_rooms(response).await?;
let store = self.state_store.read().await; let store = self.state_store.read().await;