summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-02-25 15:46:53 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2011-03-10 10:08:42 +0000
commit0ca8f572ebd4679e16d5dcab0cadd61a671e861a (patch)
treeb249439543631ef36192a7e3e771d194926bfe16 /plugins
parentf6c5cbce2c68c3ea3ab61e18a9d11bef2635e7e0 (diff)
Update Wocky snapshot for wocky_porter_register_handler changes
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gateways.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/gateways.c b/plugins/gateways.c
index c5513f0c..88a32223 100644
--- a/plugins/gateways.c
+++ b/plugins/gateways.c
@@ -310,12 +310,12 @@ gabble_gateway_sidecar_constructed (GObject *object)
porter = wocky_session_get_porter (self->priv->session);
- self->priv->subscribe_id = wocky_porter_register_handler (porter,
- WOCKY_STANZA_TYPE_PRESENCE, WOCKY_STANZA_SUB_TYPE_SUBSCRIBE, NULL,
+ self->priv->subscribe_id = wocky_porter_register_handler_from_anyone (porter,
+ WOCKY_STANZA_TYPE_PRESENCE, WOCKY_STANZA_SUB_TYPE_SUBSCRIBE,
WOCKY_PORTER_HANDLER_PRIORITY_MAX, presence_cb, self,
NULL);
- self->priv->subscribed_id = wocky_porter_register_handler (porter,
- WOCKY_STANZA_TYPE_PRESENCE, WOCKY_STANZA_SUB_TYPE_SUBSCRIBED, NULL,
+ self->priv->subscribed_id = wocky_porter_register_handler_from_anyone (porter,
+ WOCKY_STANZA_TYPE_PRESENCE, WOCKY_STANZA_SUB_TYPE_SUBSCRIBED,
WOCKY_PORTER_HANDLER_PRIORITY_MAX, presence_cb, self,
NULL);
}