diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-06-12 10:41:47 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-06-12 10:41:47 +0200 |
commit | 18871230e1c0ef76431b97037e6073856279f93e (patch) | |
tree | 35cff8432c581df13ad89b33beb2f7b4ffd88df5 /src/eu/siacs/conversations/parser/PresenceParser.java | |
parent | e353a1c109f68f212c9fbf76c5186be97c835628 (diff) |
send otr messages when contacts comes online
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/parser/PresenceParser.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/parser/PresenceParser.java b/src/eu/siacs/conversations/parser/PresenceParser.java index d946f333..cf55f61f 100644 --- a/src/eu/siacs/conversations/parser/PresenceParser.java +++ b/src/eu/siacs/conversations/parser/PresenceParser.java @@ -73,7 +73,7 @@ public class PresenceParser extends AbstractParser { } updateLastseen(packet, account,true); mXmppConnectionService.onContactStatusChanged - .onContactStatusChanged(contact); + .onContactStatusChanged(contact,true); } } else if (type.equals("unavailable")) { if (fromParts.length != 2) { @@ -82,7 +82,7 @@ public class PresenceParser extends AbstractParser { contact.removePresence(fromParts[1]); } mXmppConnectionService.onContactStatusChanged - .onContactStatusChanged(contact); + .onContactStatusChanged(contact,false); } else if (type.equals("subscribe")) { if (contact.getOption(Contact.Options.PREEMPTIVE_GRANT)) { mXmppConnectionService.sendPresenceUpdatesTo(contact); |