sticky -> clientSticky to avoid conflicts with sticky events
This commit is contained in:
parent
9507d69458
commit
9e7fcdbef7
3 changed files with 9 additions and 8 deletions
|
|
@ -43,7 +43,7 @@ class RoomChatController(final String roomId)
|
|||
.toEntryIList(compare: (a, b) => (a?.key ?? 0).compareTo(b?.key ?? 0))
|
||||
.map((element) => element.value)
|
||||
.toIList()
|
||||
.addAll(room.sticky)
|
||||
.addAll(room.clientSticky)
|
||||
.map((entry) {
|
||||
final foundEvent = entry == null ? null : room.events[entry];
|
||||
|
||||
|
|
@ -173,7 +173,7 @@ class RoomChatController(final String roomId)
|
|||
.new({
|
||||
roomId: .new(
|
||||
events: .new({event.rowId: event}),
|
||||
sticky: .new({event.rowId}),
|
||||
clientSticky: .new({event.rowId}),
|
||||
),
|
||||
}),
|
||||
.new(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue