Fix errors in new reaction processing

In meshcore_connector.dart,
Initialize _processedContactReactions in outgoing reactions for DMs

In channel_message_store.dart & message_store.dart,
Handle reaction lists properly to un-break message loading.
This commit is contained in:
Seth Golub committed 2026-08-09 22:01:26 -07:00
1 parent 76b34779cf
commit df560a2fbc
3 files changed
+3 -2

No files matched your search

+1
View File
@@ -3114,6 +3114,7 @@ class MeshCoreConnector extends ChangeNotifier {
// No check for duplicates. If you want to do it again to resend, you can.
final String reactionID = reactionInfo.identifier();
_processedContactReactions.putIfAbsent(contact.publicKeyHex, () => {});
_processedContactReactions[contact.publicKeyHex]!.add(reactionID);
// Apply reaction locally with pending status