mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
let instead of also
This commit is contained in:
parent
53f0b77fb0
commit
0f9e26efc5
1 changed files with 2 additions and 2 deletions
|
@ -116,11 +116,11 @@ internal class SyncResponseHandler @Inject constructor(@SessionDatabase private
|
|||
tokenStore.saveToken(realm, syncResponse.nextBatch)
|
||||
}
|
||||
// Everything else we need to do outside the transaction
|
||||
syncResponse.rooms?.also {
|
||||
syncResponse.rooms?.let {
|
||||
checkPushRules(it, isInitialSync)
|
||||
userAccountDataSyncHandler.synchronizeWithServerIfNeeded(it.invite)
|
||||
}
|
||||
syncResponse.groups?.also {
|
||||
syncResponse.groups?.let {
|
||||
scheduleGroupDataFetchingIfNeeded(it)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue