diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-09-07 14:48:38 +0100 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-09-07 14:56:56 +0100 |
commit | bd59fb05311ccb0a4a6ed2bc5fb269b5d3afd860 (patch) | |
tree | ed5df5e147843e5bd5e8b17b52f53a3102eb8cad | |
parent | 0d5b2552a7071845c4b6bd8923339b980b884437 (diff) |
status: fix implementation of publish nodes in pep messages
Previously, I'd done:
...
<items xmlns="the-node">
...
when actually it should be:
...
<items node="the-node">
...
Bad me.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r-- | gabble/status.c | 2 | ||||
-rw-r--r-- | salut/status.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gabble/status.c b/gabble/status.c index 40690bf..07ee7a9 100644 --- a/gabble/status.c +++ b/gabble/status.c @@ -274,7 +274,7 @@ pep_event_cb (WockyPorter *porter, /* looks good */ from = wocky_stanza_get_from (stanza); - capability = wocky_node_get_ns (items); + capability = wocky_node_get_attribute (items, "node"); service_name = wocky_node_get_attribute (status, "from-service"); if (wocky_node_get_attribute (status, "activity") != NULL) diff --git a/salut/status.c b/salut/status.c index ceca3f3..9a77206 100644 --- a/salut/status.c +++ b/salut/status.c @@ -275,7 +275,7 @@ pep_event_cb (WockyPorter *porter, /* looks good */ from = wocky_stanza_get_from (stanza); - capability = wocky_node_get_ns (items); + capability = wocky_node_get_attribute (items, "node"); service_name = wocky_node_get_attribute (status, "from-service"); if (wocky_node_get_attribute (status, "activity") != NULL) |