diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-03-13 03:52:41 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-03-13 03:52:41 +0100 |
commit | a80e3131be975e35c85b3f746cef233fafebaae0 (patch) | |
tree | c5997e923a0d32527719546067429e78af7f33e2 /src/eu/siacs/conversations/xmpp | |
parent | eadebeb77cbc4f5b49d484b8a64058630385afe6 (diff) |
contact picture generation centralized + basic registry stuff
Diffstat (limited to 'src/eu/siacs/conversations/xmpp')
-rw-r--r-- | src/eu/siacs/conversations/xmpp/XmppConnection.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/xmpp/XmppConnection.java b/src/eu/siacs/conversations/xmpp/XmppConnection.java index 277878cae..d653e06a2 100644 --- a/src/eu/siacs/conversations/xmpp/XmppConnection.java +++ b/src/eu/siacs/conversations/xmpp/XmppConnection.java @@ -109,6 +109,7 @@ public class XmppConnection implements Runnable { Log.d(LOGTAG,account.getJid()+ ": connecting"); lastConnect = SystemClock.elapsedRealtime(); try { + shouldAuthenticate = shouldBind = !account.isOptionSet(Account.OPTION_REGISTER); tagReader = new XmlReader(wakeLock); tagWriter = new TagWriter(); packetCallbacks.clear(); @@ -185,6 +186,9 @@ public class XmppConnection implements Runnable { && (!account.isOptionSet(Account.OPTION_USETLS))) { changeStatus(Account.STATUS_SERVER_REQUIRES_TLS); } + if (account.isOptionSet(Account.OPTION_REGISTER)) { + Log.d(LOGTAG,account.getJid()+": trying to register"); + } } else if (nextTag.isStart("proceed")) { switchOverToTls(nextTag); } else if (nextTag.isStart("success")) { |