mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-27 14:30:55 +02: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),
|
Host, From, Owners, AccessModel, AllowedGroups),
|
||||||
case ItemIds of
|
case ItemIds of
|
||||||
[ItemId] ->
|
[ItemId] ->
|
||||||
|
NotFound = xmpp:err_item_not_found(),
|
||||||
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, xmpp:err_item_not_found()} -> {result, {[], undefined}};
|
{error, NotFound} -> {result, {[], undefined}};
|
||||||
Result -> Result
|
Result -> Result
|
||||||
end;
|
end;
|
||||||
_ ->
|
_ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user