mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
* src/mod_pubsub/mod_pubsub.erl: Fixed XML element name for
pubsub#event namespace (thanks to Magnus Henoch) SVN Revision: 352
This commit is contained in:
parent
b43093086d
commit
9f27556a01
@ -1,5 +1,8 @@
|
||||
2005-05-21 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/mod_pubsub/mod_pubsub.erl: Fixed XML element name for
|
||||
pubsub#event namespace (thanks to Magnus Henoch)
|
||||
|
||||
* src/msgs/ru.msg: Updated (thanks to Sergei Golovan)
|
||||
* src/msgs/uk.msg: Likewise
|
||||
|
||||
|
@ -716,7 +716,7 @@ get_items(Host, JID, Node, SMaxItems) ->
|
||||
{xmlelement, "item", ItemAttrs, Payload}
|
||||
end, Items),
|
||||
{result, [{xmlelement, "pubsub",
|
||||
[{"xmlns", ?NS_PUBSUB_EVENT}],
|
||||
[{"xmlns", ?NS_PUBSUB}],
|
||||
[{xmlelement, "items",
|
||||
[{"node", node_to_string(Node)}],
|
||||
ItemsEls}]}]};
|
||||
@ -827,7 +827,7 @@ get_entities(Host, OJID, Node) ->
|
||||
[]} | Acc]
|
||||
end, [], Entities),
|
||||
{result, [{xmlelement, "pubsub",
|
||||
[{"xmlns", ?NS_PUBSUB_EVENT}],
|
||||
[{"xmlns", ?NS_PUBSUB}],
|
||||
[{xmlelement, "entities",
|
||||
[{"node", node_to_string(Node)}],
|
||||
EntitiesEls}]}]};
|
||||
@ -1091,7 +1091,7 @@ broadcast_publish_item(Host, Node, ItemID, Payload) ->
|
||||
end,
|
||||
Stanza =
|
||||
{xmlelement, "message", [],
|
||||
[{xmlelement, "x",
|
||||
[{xmlelement, "event",
|
||||
[{"xmlns", ?NS_PUBSUB_EVENT}],
|
||||
[{xmlelement, "items",
|
||||
[{"node", node_to_string(Node)}],
|
||||
@ -1123,7 +1123,7 @@ broadcast_retract_item(Host, Node, ItemID) ->
|
||||
end,
|
||||
Stanza =
|
||||
{xmlelement, "message", [],
|
||||
[{xmlelement, "x",
|
||||
[{xmlelement, "event",
|
||||
[{"xmlns", ?NS_PUBSUB_EVENT}],
|
||||
[{xmlelement, "items",
|
||||
[{"node", node_to_string(Node)}],
|
||||
@ -1150,7 +1150,7 @@ broadcast_removed_node(Host, Removed) ->
|
||||
(Subscription /= pending) ->
|
||||
Stanza =
|
||||
{xmlelement, "message", [],
|
||||
[{xmlelement, "x",
|
||||
[{xmlelement, "event",
|
||||
[{"xmlns", ?NS_PUBSUB_EVENT}],
|
||||
[{xmlelement, "delete",
|
||||
[{"node", node_to_string(Node)}],
|
||||
|
Loading…
Reference in New Issue
Block a user