Исправление зарезервированного слова from для FCM
Some checks failed
Build rosetta-wss / build (push) Has been cancelled
Some checks failed
Build rosetta-wss / build (push) Has been cancelled
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user