mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Temporary workaround for starting stored rooms
This commit is contained in:
parent
3e9de2ec79
commit
da7e53fe3c
@ -3286,6 +3286,9 @@ remove_nonmembers(StateData) ->
|
||||
|
||||
set_opts([], StateData) ->
|
||||
StateData;
|
||||
%% TODO: fix the calls to this function, so this clause isn't needed
|
||||
set_opts([#muc_room_opt{opt = Opt, val = Val} | Opts], StateData) ->
|
||||
set_opts([{Opt, Val} | Opts], StateData);
|
||||
set_opts([{Opt, Val} | Opts], StateData) ->
|
||||
NSD = case Opt of
|
||||
title -> StateData#state{config = (StateData#state.config)#config{title = Val}};
|
||||
|
@ -80,3 +80,6 @@
|
||||
-record(muc_online_users, {us,
|
||||
room,
|
||||
host}).
|
||||
|
||||
%% Copied from mod_muc.erl
|
||||
-record(muc_room_opt, {name_host, opt, val}).
|
||||
|
Loading…
Reference in New Issue
Block a user