summaryrefslogtreecommitdiff
path: root/src/muc-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/muc-factory.c
parent7c77196d24c77a31bb51928ee3875f1161b9fd08 (diff)
downloadtelepathy-gabble-2f1c3854ed8860caeb8410d4a9c0882124641e10.tar.gz
Remove gabble_decode_jid in favour of wocky_decode_jid.
Diffstat (limited to 'src/muc-factory.c')
-rw-r--r--src/muc-factory.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/muc-factory.c b/src/muc-factory.c
index e2bb31cc2..d55d20f40 100644
--- a/src/muc-factory.c
+++ b/src/muc-factory.c
@@ -25,6 +25,7 @@
#include <dbus/dbus-glib.h>
#include <dbus/dbus-glib-lowlevel.h>
#include <loudmouth/loudmouth.h>
+#include <wocky/wocky-utils.h>
#include <telepathy-glib/channel-manager.h>
#include <telepathy-glib/dbus.h>
#include <telepathy-glib/interfaces.h>
@@ -1418,7 +1419,7 @@ handle_text_channel_request (GabbleMucFactory *self,
gboolean ok;
/* JIDs that are handles must already be valid. */
- ok = gabble_decode_jid (target_id, &target_room, NULL, NULL);
+ ok = wocky_decode_jid (target_id, &target_room, NULL, NULL);
g_assert (ok);
ok = !tp_strdiff (target_room, room_name);
@@ -1445,7 +1446,7 @@ handle_text_channel_request (GabbleMucFactory *self,
gboolean ok = TRUE;
/* JIDs that are handles must already be valid. */
- ok = gabble_decode_jid (target_id, NULL, &target_server, NULL);
+ ok = wocky_decode_jid (target_id, NULL, &target_server, NULL);
g_assert (ok);
if (target_server != NULL)