diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-09-19 11:37:16 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-09-19 11:37:16 +0200 |
commit | 03530f667d664d5c015784c42dda671ccf6003b2 (patch) | |
tree | 80a5c044d14208e7a0cc297cf29404b6da037648 /src/main/java | |
parent | 2a55037993f2397a2f8bf6f6a99fdd8f26a5a348 (diff) |
clear notifications when deleting account
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/XmppConnectionService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java index 5e635fd4d..5d3e8d2c2 100644 --- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java +++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java @@ -2481,6 +2481,7 @@ public class XmppConnectionService extends Service { } else if (conversation.getMode() == Conversation.MODE_SINGLE) { conversation.endOtrIfNeeded(); } + mNotificationService.clear(conversation); conversations.remove(conversation); } } @@ -2496,7 +2497,7 @@ public class XmppConnectionService extends Service { this.accounts.remove(account); this.mRosterSyncTaskManager.clear(account); updateAccountUi(); - getNotificationService().updateErrorNotification(); + mNotificationService.updateErrorNotification(); syncEnabledAccountSetting(); toggleForegroundService(); } |