aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/presence_manager.vala
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 /libdino/src/service/presence_manager.vala
parent71dc4b80edf75c144c3d2146e85a8e0285594feb (diff)
downloaddino-a37b5ac823cc5daefac6ab33a16d6f44c747ba9c.tar.gz
dino-a37b5ac823cc5daefac6ab33a16d6f44c747ba9c.zip
MUC improvements
Diffstat (limited to 'libdino/src/service/presence_manager.vala')
-rw-r--r--libdino/src/service/presence_manager.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdino/src/service/presence_manager.vala b/libdino/src/service/presence_manager.vala
index 5dfb2cf6..ad2db89f 100644
--- a/libdino/src/service/presence_manager.vala
+++ b/libdino/src/service/presence_manager.vala
@@ -83,8 +83,8 @@ public class PresenceManager : StreamInteractionModule, Object {
stream_interactor.module_manager.get_module(account, Presence.Module.IDENTITY).received_available_show.connect((stream, jid, show) =>
on_received_available_show(account, new Jid(jid), show)
);
- stream_interactor.module_manager.get_module(account, Presence.Module.IDENTITY).received_unavailable.connect((stream, jid) =>
- on_received_unavailable(account, new Jid(jid))
+ stream_interactor.module_manager.get_module(account, Presence.Module.IDENTITY).received_unavailable.connect((stream, presence) =>
+ on_received_unavailable(account, new Jid(presence.from))
);
stream_interactor.module_manager.get_module(account, Presence.Module.IDENTITY).received_subscription_request.connect((stream, jid) =>
received_subscription_request(new Jid(jid), account)