|
|
@ -249,7 +249,7 @@ class CwtchNotifier {
|
|
|
|
notificationManager.notify(notificationSimple ?? "New Message");
|
|
|
|
notificationManager.notify(notificationSimple ?? "New Message");
|
|
|
|
} else if (notification == "ContactInfo") {
|
|
|
|
} else if (notification == "ContactInfo") {
|
|
|
|
var contact = profileCN.getProfile(data["ProfileOnion"])?.contactList.getContact(identifier);
|
|
|
|
var contact = profileCN.getProfile(data["ProfileOnion"])?.contactList.getContact(identifier);
|
|
|
|
notificationManager.notify( (notificationConversationInfo ?? "New Message from %1").replaceFirst("%1", (contact?.nickname ?? senderHandle.toString())));
|
|
|
|
notificationManager.notify((notificationConversationInfo ?? "New Message from %1").replaceFirst("%1", (contact?.nickname ?? senderHandle.toString())));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
appState.notifyProfileUnread();
|
|
|
|
appState.notifyProfileUnread();
|
|
|
|
}
|
|
|
|
}
|
|
|
|