diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-06-12 18:27:50 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-06-12 18:27:50 +0200 |
commit | b1482212b879123344ef8dcdc622ce095a4dc765 (patch) | |
tree | 7b3e6d9f2074bd16cdef1655ad84e02aa2c51cf9 /src/eu/siacs/conversations/services | |
parent | 18871230e1c0ef76431b97037e6073856279f93e (diff) |
fire onContactStatusChanged only on online/offline changes. not on status changes
Diffstat (limited to 'src/eu/siacs/conversations/services')
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index 20268574..44964c7c 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -1194,6 +1194,7 @@ public class XmppConnectionService extends Service { Account account = conversation.getAccount(); List<Message> messages = conversation.getMessages(); Session otrSession = conversation.getOtrSession(); + Log.d(LOGTAG,account.getJid()+" otr session established with "+conversation.getContactJid()+"/"+otrSession.getSessionID().getUserID()); for (int i = 0; i < messages.size(); ++i) { Message msg = messages.get(i); if ((msg.getStatus() == Message.STATUS_UNSEND) |