25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Enforce get_allowed_items_call

This commit is contained in:
Christophe Romain 2015-10-07 16:14:45 +02:00
parent 653105a44f
commit 880114a909

View File

@ -2450,7 +2450,7 @@ get_item(Host, Node, ItemId) ->
get_allowed_items_call(Host, Nidx, From, Type, Options, Owners) ->
case get_allowed_items_call(Host, Nidx, From, Type, Options, Owners, none) of
{result, {I, none}} -> {result, I};
{result, {Items, _RSM}} -> {result, Items};
Error -> Error
end.
get_allowed_items_call(Host, Nidx, From, Type, Options, Owners, RSM) ->