Исправление зарезервированного слова from для FCM
Some checks failed
Build rosetta-wss / build (push) Has been cancelled

This commit is contained in:
RoyceDa
2026-03-30 18:06:56 +02:00
parent 0a38409de4
commit c1b287986d

View File

@@ -116,7 +116,7 @@ public class MessageDispatcher {
this.firebaseDispatcher.sendPushNotification(groupMembersPublicKeys, new HashMap<>(){
{
put("type", "group_message");
put("from", toPublicKey.replace("#group:", ""));
put("dialog", toPublicKey.replace("#group:", ""));
}
});
}
@@ -186,7 +186,7 @@ public class MessageDispatcher {
this.firebaseDispatcher.sendPushNotification(toPublicKey, new HashMap<>(){
{
put("type", "personal_message");
put("from", fromPublicKey);
put("dialog", fromPublicKey);
}
});
}