diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index 4bdc8c7c1..2049f9b95 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -859,6 +859,9 @@ public class XmppConnectionService extends Service { return START_STICKY; case ACTION_TEMPORARILY_DISABLE: toggleSoftDisabled(true); + if (checkListeners()) { + stopSelf(); + } return START_NOT_STICKY; } manageAccountConnectionStates(action, intent == null ? null : intent.getExtras());