telepathy-salut: fix WockyStanzaSubType enum casting

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Wed Oct 2 08:41:18 PDT 2013


Module: telepathy-salut
Branch: master
Commit: 9121b4232bb7cf866658422d12aa3000f68830df
URL:    http://cgit.freedesktop.org/telepathy/telepathy-salut/commit/?id=9121b4232bb7cf866658422d12aa3000f68830df

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Wed Oct  2 16:23:03 2013 +0200

fix WockyStanzaSubType enum casting

---

 lib/gibber/gibber-bytestream-oob.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/gibber/gibber-bytestream-oob.c b/lib/gibber/gibber-bytestream-oob.c
index ca9214c..4751d3e 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);



More information about the telepathy-commits mailing list