diff --git a/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/database/helper/RoomEntityHelper.kt b/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/database/helper/RoomEntityHelper.kt index 1458b6090f..04921a9a56 100644 --- a/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/database/helper/RoomEntityHelper.kt +++ b/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/database/helper/RoomEntityHelper.kt @@ -49,6 +49,7 @@ internal fun RoomEntity.addStateEvents(stateEvents: List, val eventEntity = event.toEntity(roomId).apply { this.stateIndex = stateIndex this.isUnlinked = isUnlinked + this.sendState = SendState.SYNCED } untimelinedStateEvents.add(0, eventEntity) }