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:
1 parent
76b34779cf
commit
df560a2fbc
3 files changed
+3
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user