aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-01-23 11:40:32 +0100
committerDaniel Gultsch <daniel@gultsch.de>2016-01-23 11:40:32 +0100
commit61408611437785ebe685aadfbca924cbc86340c1 (patch)
tree7ade4250ff6c99d6a1919e0e8610f2d048e06da1 /src/main
parent43521891f0114d050c1ae8bf3d76d5ad4f1cf0a4 (diff)
reset stanza queue when resetting xmppconnection
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java b/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java
index 273a7381..a3dd0644 100644
--- a/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java
+++ b/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java
@@ -879,6 +879,7 @@ public class XmppConnection implements Runnable {
public void resetEverything() {
resetStreamId();
clearIqCallbacks();
+ mStanzaQueue.clear();
synchronized (this.disco) {
disco.clear();
}