diff options
author | Andreas Straub <andy@strb.org> | 2015-08-26 15:32:49 +0200 |
---|---|---|
committer | Andreas Straub <andy@strb.org> | 2015-08-26 15:45:21 +0200 |
commit | c4a548ada00f5abd175e28ac1df5204f8bbc092f (patch) | |
tree | cd2348b0631a2a7b85e263a65ca9cc4868390849 /src/main/java/eu/siacs/conversations/services | |
parent | f6b7a25e290d3ddfa46a5e704b05abe0e6b50dd5 (diff) |
Only announce device after publishing bundle
Diffstat (limited to 'src/main/java/eu/siacs/conversations/services')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index a2b101bbe..4edaa324c 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -165,8 +165,7 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa mMessageArchiveService.executePendingQueries(account); mJingleConnectionManager.cancelInTransmission(); syncDirtyContacts(account); - account.getAxolotlService().publishOwnDeviceIdIfNeeded(); - account.getAxolotlService().publishBundlesIfNeeded(); + account.getAxolotlService().publishBundlesIfNeeded(true); } }; private final OnMessageAcknowledged mOnMessageAcknowledgedListener = new OnMessageAcknowledged() { |