diff options
author | iNPUTmice <daniel@gultsch.de> | 2015-03-05 15:46:33 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2015-03-05 15:46:33 +0100 |
commit | f25a82461007f43c23960720d6d94d2db5c8c7f7 (patch) | |
tree | 9bc5c446e2bac32859c6e90937656ab0c57ccc55 /src/main/java/eu/siacs/conversations/ui/SettingsActivity.java | |
parent | c5230e081cd2c9a1c5b5bd0459e339668ff4cb6d (diff) |
avoid unnecessary thread creation
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/SettingsActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/SettingsActivity.java b/src/main/java/eu/siacs/conversations/ui/SettingsActivity.java index 5bf3cdab4..39e215f2b 100644 --- a/src/main/java/eu/siacs/conversations/ui/SettingsActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/SettingsActivity.java @@ -65,7 +65,7 @@ public class SettingsActivity extends XmppActivity implements for (Account account : xmppConnectionService.getAccounts()) { account.setResource(resource); if (!account.isOptionSet(Account.OPTION_DISABLED)) { - xmppConnectionService.reconnectAccount(account, false); + xmppConnectionService.reconnectAccountInBackground(account); } } } |