diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-03-13 17:29:22 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-03-13 17:29:22 +0100 |
commit | 678dbd37c660c0754f75ef0fd882bfe049859344 (patch) | |
tree | 3eb8ca4a968a4f19b7ecf258fc20b68bdb512918 /src/eu/siacs/conversations/services | |
parent | dab3c99b568f696bef79fbdc4f67772c164c40ec (diff) |
finished registration
Diffstat (limited to 'src/eu/siacs/conversations/services')
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index 811074264..183ca00c6 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -208,6 +208,9 @@ public class XmppConnectionService extends Service { scheduleWakeupCall(timeToReconnect, false); } + } else if (account.getStatus() == Account.STATUS_REGISTRATION_SUCCESSFULL) { + databaseBackend.updateAccount(account); + reconnectAccount(account, true); } } }; |