aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/xmpp
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-03-13 03:52:41 +0100
committerDaniel Gultsch <daniel@gultsch.de>2014-03-13 03:52:41 +0100
commita80e3131be975e35c85b3f746cef233fafebaae0 (patch)
treec5997e923a0d32527719546067429e78af7f33e2 /src/eu/siacs/conversations/xmpp
parenteadebeb77cbc4f5b49d484b8a64058630385afe6 (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.java4
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 277878ca..d653e06a 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")) {