This commit is contained in:
licaon-kter 2016-09-10 22:16:14 +03:00 committed by GitHub
parent 6fd9888b3b
commit 59b2e281a3

View File

@ -268,7 +268,7 @@ public class XmppConnection implements Runnable {
} else { } else {
destination = account.getHostname(); destination = account.getHostname();
} }
Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": connect to " + destination + " via TOR"); Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": connect to " + destination + " via Tor");
socket = SocksSocketFactory.createSocketOverTor(destination, account.getPort()); socket = SocksSocketFactory.createSocketOverTor(destination, account.getPort());
startXmpp(); startXmpp();
} else if (extended && account.getHostname() != null && !account.getHostname().isEmpty()) { } else if (extended && account.getHostname() != null && !account.getHostname().isEmpty()) {