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

View file

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