mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Fix illegal match on previous commit
This commit is contained in:
parent
4c0f87b2ff
commit
99444f2d0e
@ -2004,10 +2004,11 @@ get_items(Host, Node, From, SubId, _MaxItems, ItemIds, RSM) ->
|
||||
Host, From, Owners, AccessModel, AllowedGroups),
|
||||
case ItemIds of
|
||||
[ItemId] ->
|
||||
NotFound = xmpp:err_item_not_found(),
|
||||
case node_call(Host, Type, get_item,
|
||||
[Nidx, ItemId, From, AccessModel, PS, RG, undefined])
|
||||
of
|
||||
{error, xmpp:err_item_not_found()} -> {result, {[], undefined}};
|
||||
{error, NotFound} -> {result, {[], undefined}};
|
||||
Result -> Result
|
||||
end;
|
||||
_ ->
|
||||
|
Loading…
Reference in New Issue
Block a user