fix(llc): retry queue now follows the creation date

This commit is contained in:
Salvatore Giordano
2021-12-03 15:38:23 +01:00
parent 1b14e7f223
commit 7547bd6b86
3 changed files with 14 additions and 13 deletions
@@ -1698,7 +1698,7 @@ class ChannelClientState {
}
_channelState = _channelState.copyWith(
messages: newMessages,
messages: newMessages..sort(_sortByCreatedAt),
channel: _channelState.channel?.copyWith(
lastMessageAt: message.createdAt,
),