summaryrefslogtreecommitdiff
path: root/lib/gibber
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-02 16:23:03 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-02 16:23:03 +0200
commit9121b4232bb7cf866658422d12aa3000f68830df (patch)
treea49488b1fa1326154d8d333d73fb1769e4d7731f /lib/gibber
parent5092f0b00848f1636f5a59cacc791cbdc2409865 (diff)
fix WockyStanzaSubType enum casting
Diffstat (limited to 'lib/gibber')
-rw-r--r--lib/gibber/gibber-bytestream-oob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gibber/gibber-bytestream-oob.c b/lib/gibber/gibber-bytestream-oob.c
index ca9214cc..4751d3e9 100644
--- a/lib/gibber/gibber-bytestream-oob.c
+++ b/lib/gibber/gibber-bytestream-oob.c
@@ -573,7 +573,7 @@ make_porter_connections (GibberBytestreamOOB *self)
jid = wocky_contact_dup_jid (priv->contact);
priv->stanza_received_id = wocky_porter_register_handler_from (priv->porter,
- WOCKY_STANZA_TYPE_IQ, WOCKY_STANZA_TYPE_NONE, jid,
+ WOCKY_STANZA_TYPE_IQ, WOCKY_STANZA_SUB_TYPE_NONE, jid,
WOCKY_PORTER_HANDLER_PRIORITY_NORMAL, received_stanza_cb, self, NULL);
g_free (jid);