25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Fix result of XEP-0060 §6.5.9.12 (#2288)

This commit is contained in:
Christophe Romain 2018-03-16 17:48:42 +01:00
parent a84dd0f627
commit 7beb19b01e

View File

@ -2026,8 +2026,10 @@ get_items(Host, Node, From, SubId, _MaxItems, ItemIds, RSM) ->
{result,
#pubsub{items = #ps_items{node = Node,
items = itemsEls([Item])}}};
Error ->
Error
_ ->
{result,
#pubsub{items = #ps_items{node = Node,
items = itemsEls([])}}}
end.
get_items(Host, Node) ->