diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index fc43adb5f..0b1d5ad71 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -1091,9 +1091,9 @@ public class XmppConnectionService extends Service { status = true; } else { stopForeground(true); - mNotificationService.dismissForcedForegroundNotification(); //if the channel was changed the previous call might fail status = false; } + mNotificationService.dismissForcedForegroundNotification(); //if the channel was changed the previous call might fail Log.d(Config.LOGTAG,"ForegroundService: "+(status?"on":"off")); }