25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

Improve fix for #2288, don't mask errors on get_item

This commit is contained in:
Christophe Romain 2018-04-10 14:47:18 +02:00
parent 54363f8476
commit 4c0f87b2ff

View File

@ -2007,7 +2007,7 @@ get_items(Host, Node, From, SubId, _MaxItems, ItemIds, RSM) ->
case node_call(Host, Type, get_item,
[Nidx, ItemId, From, AccessModel, PS, RG, undefined])
of
{error, _} -> {result, {[], undefined}};
{error, xmpp:err_item_not_found()} -> {result, {[], undefined}};
Result -> Result
end;
_ ->