mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-18 22:15:20 +02: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,
|
case node_call(Host, Type, get_item,
|
||||||
[Nidx, ItemId, From, AccessModel, PS, RG, undefined])
|
[Nidx, ItemId, From, AccessModel, PS, RG, undefined])
|
||||||
of
|
of
|
||||||
{error, _} -> {result, {[], undefined}};
|
{error, xmpp:err_item_not_found()} -> {result, {[], undefined}};
|
||||||
Result -> Result
|
Result -> Result
|
||||||
end;
|
end;
|
||||||
_ ->
|
_ ->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user