Also hide own jid in notifications when app lock active

This commit is contained in:
12aw 2024-02-22 14:01:23 +01:00
parent 834e7ffe97
commit 67a06f5f20
2 changed files with 6 additions and 10 deletions

View file

@ -33,13 +33,13 @@
"filters": [
{
"filterType": "ABI",
"value": "x86_64"
"value": "arm64-v8a"
}
],
"attributes": [],
"versionCode": 16103,
"versionCode": 16104,
"versionName": "1.7.9",
"outputFile": "monocles chat-1.7.9-git-x86_64-release.apk"
"outputFile": "monocles chat-1.7.9-git-arm64-v8a-release.apk"
},
{
"type": "ONE_OF_MANY",
@ -59,13 +59,13 @@
"filters": [
{
"filterType": "ABI",
"value": "arm64-v8a"
"value": "x86_64"
}
],
"attributes": [],
"versionCode": 16104,
"versionCode": 16103,
"versionName": "1.7.9",
"outputFile": "monocles chat-1.7.9-git-arm64-v8a-release.apk"
"outputFile": "monocles chat-1.7.9-git-x86_64-release.apk"
}
],
"elementType": "File"

View file

@ -1587,10 +1587,6 @@ public class NotificationService {
mBuilder.setSmallIcon(R.drawable.ic_notification);
mBuilder.setDeleteIntent(createDeleteIntent(conversation));
mBuilder.setContentIntent(createContentIntent(conversation));
if (mXmppConnectionService.getAccounts().size() > 1) {
mBuilder.setSubText(conversation.getAccount().getJid().asBareJid().toString());
}
mBuilder.setShortcutInfo(info);
if (Build.VERSION.SDK_INT >= 30) {
mXmppConnectionService.getSystemService(ShortcutManager.class).pushDynamicShortcut(info.toShortcutInfo());