diff options
author | iNPUTmice <daniel@gultsch.de> | 2015-04-09 12:46:54 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2015-04-09 12:46:54 +0200 |
commit | 332fe0fd194a80501cf935f22faed645f3032b57 (patch) | |
tree | 7733821f5ce527d08f3f828eaabe56e15df59c0e /src/main/java/eu/siacs/conversations/xmpp | |
parent | f880473435b6c3167edc727eacccef377643a8c5 (diff) |
don't resume old session when changing resource
Diffstat (limited to 'src/main/java/eu/siacs/conversations/xmpp')
-rw-r--r-- | src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java | 4 |
1 files changed, 4 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 48dc2150d..25db8ecca 100644 --- a/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java +++ b/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java @@ -981,6 +981,10 @@ public class XmppConnection implements Runnable { } } + public void resetStreamId() { + this.streamId = null; + } + public List<String> findDiscoItemsByFeature(final String feature) { final List<String> items = new ArrayList<>(); for (final Entry<String, List<String>> cursor : disco.entrySet()) { |