24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-04 21:27:16 +02:00

Fix illegal match on previous commit

This commit is contained in:
Christophe Romain 2018-04-10 15:02:03 +02:00
parent 4c0f87b2ff
commit 99444f2d0e

View File

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