diff options
author | iNPUTmice <daniel@gultsch.de> | 2015-01-26 00:48:56 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2015-01-26 00:48:56 +0100 |
commit | 91e85d2faf18088dc7dc01653bda108f0c04d729 (patch) | |
tree | 2e4e0cb1fc4885635df93b8bd91844f90f194064 /src/main/java/eu/siacs/conversations/ui/XmppActivity.java | |
parent | 94086bb9b7dfca4df7579758f6a3172e6c0b17dc (diff) |
adapt caps on whether or not message confirmation is on
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/XmppActivity.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java index 6399bcefa..bf2477872 100644 --- a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java @@ -402,9 +402,7 @@ public abstract class XmppActivity extends Activity { public void success(Account account) { xmppConnectionService.databaseBackend .updateAccount(account); - xmppConnectionService.sendPresencePacket(account, - xmppConnectionService.getPresenceGenerator() - .sendPresence(account)); + xmppConnectionService.sendPresence(account); if (conversation != null) { conversation .setNextEncryption(Message.ENCRYPTION_PGP); |