diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-10-08 12:21:58 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-10-08 12:21:58 +0200 |
commit | 3d88ffc5cd4b9e500048557f9ce5f01653123526 (patch) | |
tree | cdcb54ea10558523d4bf4c86fc1e8699477ed768 /src/eu/siacs/conversations/services/XmppConnectionService.java | |
parent | 3737a96dbb517dc9d1e39d2b15cf8539cc752a45 (diff) |
fixed possible logout bugs
Diffstat (limited to 'src/eu/siacs/conversations/services/XmppConnectionService.java')
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index 6aac3f93..e2c17b7e 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -1508,6 +1508,9 @@ public class XmppConnectionService extends Service { thread.start(); scheduleWakeupCall((int) (Config.CONNECT_TIMEOUT * 1.2), false); + } else { + account.getRoster().clearPresences(); + account.setXmppConnection(null); } } }).start(); |