diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2018-03-16 17:48:42 +0100 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2018-03-16 17:48:42 +0100 |
commit | 7beb19b01e7e3edc1be69a6901a1ff9a0fef79a2 (patch) | |
tree | 99cdbd731b47ed1e7da2291262faee1090a41c6b /src/mod_pubsub.erl | |
parent | Add transient notification condition (#2267) (diff) |
Fix result of XEP-0060 ยง6.5.9.12 (#2288)
Diffstat (limited to 'src/mod_pubsub.erl')
-rw-r--r-- | src/mod_pubsub.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl index 88daf721..eb5ee8cc 100644 --- a/src/mod_pubsub.erl +++ b/src/mod_pubsub.erl @@ -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) -> |