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
1 changed files with 1 additions and 1 deletions

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;
_ ->