add unsent messages, fix hotkeys so they work with chrome

This commit is contained in:
Christien Rioux 2025-05-17 19:30:45 -04:00
parent 576c8e477a
commit 34f9bea6eb
5 changed files with 149 additions and 138 deletions

View file

@ -333,6 +333,7 @@ class ChatComponentCubit extends Cubit<ChatComponentState> {
text: contentText.text,
metadata: {
kSeqId: message.seqId,
kSending: message.sendState == MessageSendState.sending,
if (core.isOnlyEmoji(contentText.text)) 'isOnlyEmoji': true,
});
return (currentState, textMessage);