From 67a06f5f20263ba553766d1dfc3fa74ac5b13ea5 Mon Sep 17 00:00:00 2001 From: 12aw Date: Thu, 22 Feb 2024 14:01:23 +0100 Subject: [PATCH] Also hide own jid in notifications when app lock active --- git/release/output-metadata.json | 12 ++++++------ .../conversations/services/NotificationService.java | 4 ---- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/git/release/output-metadata.json b/git/release/output-metadata.json index c9f2a72af..e99668e6c 100644 --- a/git/release/output-metadata.json +++ b/git/release/output-metadata.json @@ -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" diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java index 14977fc72..f2089c7fd 100644 --- a/src/main/java/eu/siacs/conversations/services/NotificationService.java +++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java @@ -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());