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:
parent
a84dd0f627
commit
7beb19b01e
@ -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) ->
|
||||
|
Loading…
Reference in New Issue
Block a user