mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Improve fix for #2288, don't mask errors on get_item
This commit is contained in:
parent
54363f8476
commit
4c0f87b2ff
@ -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;
|
||||
_ ->
|
||||
|
Loading…
Reference in New Issue
Block a user