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
@@ -533,11 +533,7 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
onTap: () {
Navigator.pop(context);
final channel = StreamChannel.of(context).channel;
if (isUpdateFailed) {
channel.updateMessage(widget.message);
} else {
channel.sendMessage(widget.message);
}
channel.state?.retryFailedMessages();
},
child: Padding(
padding: const EdgeInsets.symmetric(vertical: 11, horizontal: 16),