[telepathy-gabble/telepathy-gabble-0.8] muc-factory: use the fixed lm_message_node_get_child_with_namespace functions
Jonny Lamb
jonny.lamb at collabora.co.uk
Mon Dec 7 04:13:01 PST 2009
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
src/muc-factory.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/src/muc-factory.c b/src/muc-factory.c
index ba7d9e7..c84cf0d 100644
--- a/src/muc-factory.c
+++ b/src/muc-factory.c
@@ -637,10 +637,6 @@ process_muc_invite (GabbleMucFactory *fac,
x_node = lm_message_node_get_child_with_namespace (message->node, "x",
NS_MUC_USER);
- /* LM doesn't chain up to its parent's namespaces. boo hoo */
- if (x_node == NULL)
- x_node = lm_message_node_get_child (message->node, "x");
-
if (x_node == NULL)
return FALSE;
@@ -648,10 +644,6 @@ process_muc_invite (GabbleMucFactory *fac,
invite_node = lm_message_node_get_child_with_namespace (x_node, "invite",
NS_MUC_USER);
- /* LM doesn't chain up to its parent's namespaces. boo hoo */
- if (invite_node == NULL)
- invite_node = lm_message_node_get_child (x_node, "invite");
-
if (invite_node == NULL)
return FALSE;
@@ -987,10 +979,6 @@ muc_factory_presence_cb (LmMessageHandler *handler,
item_node = lm_message_node_get_child_with_namespace (x_node,
"item", NS_MUC_USER);
- /* LM doesn't chain up to its parent's namespaces. boo hoo */
- if (item_node == NULL)
- item_node = lm_message_node_get_child (x_node, "item");
-
if (item_node == NULL)
{
DEBUG ("node missing 'item' child, ignoring");
--
1.5.6.5
More information about the telepathy-commits
mailing list