only store non hardcoded resolver result in db
This commit is contained in:
parent
2edab21423
commit
5f8184fe8e
|
@ -355,7 +355,7 @@ public class XmppConnection implements Runnable {
|
|||
localSocket.setSoTimeout(Config.SOCKET_TIMEOUT * 1000);
|
||||
if (startXmpp(localSocket)) {
|
||||
localSocket.setSoTimeout(0); //reset to 0; once the connection is established we don’t want this
|
||||
if (!result.equals(storedBackupResult)) {
|
||||
if (!hardcoded && !result.equals(storedBackupResult)) {
|
||||
mXmppConnectionService.databaseBackend.saveResolverResult(domain, result);
|
||||
}
|
||||
break; // successfully connected to server that speaks xmpp
|
||||
|
|
Loading…
Reference in a new issue