clear notifications when deleting account
This commit is contained in:
parent
4cd652884c
commit
ab57c59838
|
@ -2190,6 +2190,7 @@ public class XmppConnectionService extends Service {
|
||||||
leaveMuc(conversation);
|
leaveMuc(conversation);
|
||||||
}
|
}
|
||||||
conversations.remove(conversation);
|
conversations.remove(conversation);
|
||||||
|
mNotificationService.clear(conversation);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (account.getXmppConnection() != null) {
|
if (account.getXmppConnection() != null) {
|
||||||
|
@ -2204,7 +2205,7 @@ public class XmppConnectionService extends Service {
|
||||||
this.accounts.remove(account);
|
this.accounts.remove(account);
|
||||||
this.mRosterSyncTaskManager.clear(account);
|
this.mRosterSyncTaskManager.clear(account);
|
||||||
updateAccountUi();
|
updateAccountUi();
|
||||||
getNotificationService().updateErrorNotification();
|
mNotificationService.updateErrorNotification();
|
||||||
syncEnabledAccountSetting();
|
syncEnabledAccountSetting();
|
||||||
toggleForegroundService();
|
toggleForegroundService();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue