Fix / some state events are missing context action (view source)

This commit is contained in:
Valere 2019-07-02 12:21:27 +02:00
parent 58a80ec543
commit 6cf24cc43b
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ internal fun RoomEntity.addStateEvents(stateEvents: List<Event>,
val eventEntity = event.toEntity(roomId).apply {
this.stateIndex = stateIndex
this.isUnlinked = isUnlinked
this.sendState = SendState.SYNCED
}
untimelinedStateEvents.add(0, eventEntity)
}