aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/de/pixart/messenger/services/XmppConnectionService.java3
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();
}