aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/presence
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-04-11 18:06:01 +0200
committerfiaxh <git@mx.ax.lt>2017-04-11 21:25:33 +0200
commita37b5ac823cc5daefac6ab33a16d6f44c747ba9c (patch)
tree8a8784914680672f15cf67a4bb946fe31cb89742 /xmpp-vala/src/module/presence
parent71dc4b80edf75c144c3d2146e85a8e0285594feb (diff)
downloaddino-a37b5ac823cc5daefac6ab33a16d6f44c747ba9c.tar.gz
dino-a37b5ac823cc5daefac6ab33a16d6f44c747ba9c.zip
MUC improvements
Diffstat (limited to 'xmpp-vala/src/module/presence')
-rw-r--r--xmpp-vala/src/module/presence/module.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmpp-vala/src/module/presence/module.vala b/xmpp-vala/src/module/presence/module.vala
index 3c078453..a2cdf1d7 100644
--- a/xmpp-vala/src/module/presence/module.vala
+++ b/xmpp-vala/src/module/presence/module.vala
@@ -11,7 +11,7 @@ namespace Xmpp.Presence {
public signal void initial_presence_sent(XmppStream stream, Presence.Stanza presence);
public signal void received_available(XmppStream stream, Presence.Stanza presence);
public signal void received_available_show(XmppStream stream, string jid, string show);
- public signal void received_unavailable(XmppStream stream, string jid);
+ public signal void received_unavailable(XmppStream stream, Presence.Stanza presence);
public signal void received_subscription_request(XmppStream stream, string jid);
public signal void received_unsubscription(XmppStream stream, string jid);
@@ -76,7 +76,7 @@ namespace Xmpp.Presence {
break;
case Presence.Stanza.TYPE_UNAVAILABLE:
stream.get_flag(Flag.IDENTITY).remove_presence(presence.from);
- received_unavailable(stream, presence.from);
+ received_unavailable(stream, presence);
break;
case Presence.Stanza.TYPE_SUBSCRIBE:
received_subscription_request(stream, presence.from);