aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-07-31 17:25:50 +0200
committerChristian Schneppe <christian@pix-art.de>2016-07-31 17:25:50 +0200
commitcf2eb40b303482574db1e2657398817462d57e99 (patch)
treeb108afbd955f2592c13384d94f1e9ac2f08c6dca
parentb16e49cb1dde8cc4c796dce3abc7b99dfbe46e91 (diff)
don't leave conferences ...
... when Pix-Art Messenger is swiped away from recent apps
-rw-r--r--src/main/java/de/pixart/messenger/services/XmppConnectionService.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
index f322034b0..3dc51cb98 100644
--- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
+++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
@@ -841,9 +841,9 @@ public class XmppConnectionService extends Service {
@Override
public void onTaskRemoved(final Intent rootIntent) {
super.onTaskRemoved(rootIntent);
- if (!getPreferences().getBoolean("keep_foreground_service", false)) {
- this.logoutAndSave(false);
- }
+// if (!getPreferences().getBoolean("keep_foreground_service", false)) {
+// this.logoutAndSave(false);
+// }
}
private void logoutAndSave(boolean stop) {