summaryrefslogtreecommitdiff
path: root/src/muc-factory.c
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2012-01-28 10:17:54 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2012-01-31 17:40:44 +0000
commitbd3c28af3b96bf73256e8e0fc42470f0cf43039e (patch)
treec08f34b798dd970197a1a35452695db2a54415d7 /src/muc-factory.c
parent5d91fadfb646437363c9f1e60f1deb279b09e180 (diff)
downloadtelepathy-gabble-bd3c28af3b96bf73256e8e0fc42470f0cf43039e.tar.gz
Replace trivial uses of lm_message_node_get_child_with_namespace
These are the cases where it was relatively quickly apparent to me that we only needed a direct child, not a deeper descendent.
Diffstat (limited to 'src/muc-factory.c')
-rw-r--r--src/muc-factory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/muc-factory.c b/src/muc-factory.c
index 3cbec3224..ddef7d825 100644
--- a/src/muc-factory.c
+++ b/src/muc-factory.c
@@ -632,7 +632,7 @@ process_muc_invite (GabbleMucFactory *fac,
gchar *room;
/* does it have a muc subnode? */
- x_node = lm_message_node_get_child_with_namespace (
+ x_node = wocky_node_get_child_ns (
wocky_stanza_get_top_node (message), "x",
NS_MUC_USER);
@@ -707,7 +707,7 @@ process_obsolete_invite (GabbleMucFactory *fac,
struct DiscoInviteData *disco_udata;
/* check for obsolete invite method */
- x_node = lm_message_node_get_child_with_namespace (
+ x_node = wocky_node_get_child_ns (
wocky_stanza_get_top_node (message), "x", NS_X_CONFERENCE);
if (x_node == NULL)
return FALSE;