mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Fix classical init sync (not used anymore, except in debug mode) case.
This commit is contained in:
parent
ccf8e94c5e
commit
490780b906
@ -195,7 +195,7 @@ internal class RoomSyncHandler @Inject constructor(private val readReceiptHandle
|
|||||||
if (handleEphemeralEvents) {
|
if (handleEphemeralEvents) {
|
||||||
ephemeralResult = roomSync.ephemeral?.roomSyncEphemeral?.events
|
ephemeralResult = roomSync.ephemeral?.roomSyncEphemeral?.events
|
||||||
?.takeIf { it.isNotEmpty() }
|
?.takeIf { it.isNotEmpty() }
|
||||||
?.let { handleEphemeral(realm, roomId, it, false) }
|
?.let { handleEphemeral(realm, roomId, it, insertType == EventInsertType.INITIAL_SYNC) }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (roomSync.accountData?.events?.isNotEmpty() == true) {
|
if (roomSync.accountData?.events?.isNotEmpty() == true) {
|
||||||
|
Loading…
Reference in New Issue
Block a user