diff options
author | fiaxh <git@mx.ax.lt> | 2017-04-11 18:06:01 +0200 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-04-11 21:25:33 +0200 |
commit | a37b5ac823cc5daefac6ab33a16d6f44c747ba9c (patch) | |
tree | 8a8784914680672f15cf67a4bb946fe31cb89742 /xmpp-vala/src/module/presence | |
parent | 71dc4b80edf75c144c3d2146e85a8e0285594feb (diff) | |
download | dino-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.vala | 4 |
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); |