mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
mod_muc_room: Fix function name typo
This commit is contained in:
parent
8ccad7fada
commit
59c9500944
@ -1637,7 +1637,7 @@ do_get_affiliation_fallback(JID, StateData) ->
|
|||||||
|
|
||||||
-spec get_affiliations(state()) -> affiliations().
|
-spec get_affiliations(state()) -> affiliations().
|
||||||
get_affiliations(#state{config = #config{persistent = false}} = StateData) ->
|
get_affiliations(#state{config = #config{persistent = false}} = StateData) ->
|
||||||
get_affiliations_callback(StateData);
|
get_affiliations_fallback(StateData);
|
||||||
get_affiliations(StateData) ->
|
get_affiliations(StateData) ->
|
||||||
Room = StateData#state.room,
|
Room = StateData#state.room,
|
||||||
Host = StateData#state.host,
|
Host = StateData#state.host,
|
||||||
@ -1645,13 +1645,13 @@ get_affiliations(StateData) ->
|
|||||||
Mod = gen_mod:db_mod(ServerHost, mod_muc),
|
Mod = gen_mod:db_mod(ServerHost, mod_muc),
|
||||||
case Mod:get_affiliations(ServerHost, Room, Host) of
|
case Mod:get_affiliations(ServerHost, Room, Host) of
|
||||||
{error, _} ->
|
{error, _} ->
|
||||||
get_affiliations_callback(StateData);
|
get_affiliations_fallback(StateData);
|
||||||
{ok, Affiliations} ->
|
{ok, Affiliations} ->
|
||||||
Affiliations
|
Affiliations
|
||||||
end.
|
end.
|
||||||
|
|
||||||
-spec get_affiliations_callback(state()) -> affiliations().
|
-spec get_affiliations_fallback(state()) -> affiliations().
|
||||||
get_affiliations_callback(StateData) ->
|
get_affiliations_fallback(StateData) ->
|
||||||
StateData#state.affiliations.
|
StateData#state.affiliations.
|
||||||
|
|
||||||
-spec get_service_affiliation(jid(), state()) -> owner | none.
|
-spec get_service_affiliation(jid(), state()) -> owner | none.
|
||||||
|
Loading…
Reference in New Issue
Block a user