diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index f67a15d39..b12eaffff 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -2751,7 +2751,9 @@ public class XmppConnectionService extends Service { }; mDatabaseWriterExecutor.execute(runnable); this.accounts.remove(account); - CallIntegrationConnectionService.unregisterPhoneAccount(this, account); + if (CallIntegration.hasSystemFeature(this)) { + CallIntegrationConnectionService.unregisterPhoneAccount(this, account); + } this.mRosterSyncTaskManager.clear(account); updateAccountUi(); mNotificationService.updateErrorNotification();