clear notifications when deleting account

This commit is contained in:
Daniel Gultsch 2019-09-15 12:23:56 +02:00
parent 4cd652884c
commit ab57c59838

View file

@ -2190,6 +2190,7 @@ public class XmppConnectionService extends Service {
leaveMuc(conversation);
}
conversations.remove(conversation);
mNotificationService.clear(conversation);
}
}
if (account.getXmppConnection() != null) {
@ -2204,7 +2205,7 @@ public class XmppConnectionService extends Service {
this.accounts.remove(account);
this.mRosterSyncTaskManager.clear(account);
updateAccountUi();
getNotificationService().updateErrorNotification();
mNotificationService.updateErrorNotification();
syncEnabledAccountSetting();
toggleForegroundService();
}