aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/services
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-06-12 18:27:50 +0200
committeriNPUTmice <daniel@gultsch.de>2014-06-12 18:27:50 +0200
commitb1482212b879123344ef8dcdc622ce095a4dc765 (patch)
tree7b3e6d9f2074bd16cdef1655ad84e02aa2c51cf9 /src/eu/siacs/conversations/services
parent18871230e1c0ef76431b97037e6073856279f93e (diff)
fire onContactStatusChanged only on online/offline changes. not on status changes
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/services/XmppConnectionService.java1
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)