summaryrefslogtreecommitdiff
path: root/src/bytestream-factory.c
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-11-17 14:18:18 -0200
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-11-17 14:18:18 -0200
commit2f1c3854ed8860caeb8410d4a9c0882124641e10 (patch)
tree283f6ce1fbbd094f527f5ddf03681511952f01f0 /src/bytestream-factory.c
parent7c77196d24c77a31bb51928ee3875f1161b9fd08 (diff)
downloadtelepathy-gabble-2f1c3854ed8860caeb8410d4a9c0882124641e10.tar.gz
Remove gabble_decode_jid in favour of wocky_decode_jid.
Diffstat (limited to 'src/bytestream-factory.c')
-rw-r--r--src/bytestream-factory.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bytestream-factory.c b/src/bytestream-factory.c
index 9413add04..989ef6dc3 100644
--- a/src/bytestream-factory.c
+++ b/src/bytestream-factory.c
@@ -26,6 +26,7 @@
#include <dbus/dbus-glib.h>
#include <dbus/dbus-glib-lowlevel.h>
#include <loudmouth/loudmouth.h>
+#include <wocky/wocky-utils.h>
#include <telepathy-glib/interfaces.h>
#define DEBUG_FLAG GABBLE_DEBUG_BYTESTREAM
@@ -1149,7 +1150,7 @@ bytestream_factory_iq_si_cb (LmMessageHandler *handler,
{
/* jid is not a muc jid so we need contact's resource */
- if (!gabble_decode_jid (from, NULL, NULL, &peer_resource))
+ if (!wocky_decode_jid (from, NULL, NULL, &peer_resource))
{
DEBUG ("Got an SI IQ response from a bad JID. Ignoring.");
goto out;
@@ -2078,7 +2079,7 @@ streaminit_reply_cb (GabbleConnection *conn,
{
/* jid is not a muc jid so we need contact's resource */
- if (!gabble_decode_jid (from, NULL, NULL, &peer_resource))
+ if (!wocky_decode_jid (from, NULL, NULL, &peer_resource))
{
DEBUG ("Got an SI request with a bad JID");
goto END;