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

hibernation_time is not an option worth storing in room state (#3946)

This commit is contained in:
Badlop 2022-11-18 12:20:15 +01:00
parent 266dd98521
commit 441eca75b2

View File

@ -4033,6 +4033,7 @@ set_opts([{Opt, Val} | Opts], StateData) ->
lists:map(fun({U, H}) -> {U, maps:from_list(H)} end, lists:map(fun({U, H}) -> {U, maps:from_list(H)} end,
Val)), Val)),
StateData#state{hats_users = Hats}; StateData#state{hats_users = Hats};
hibernation_time -> StateData;
Other -> Other ->
?INFO_MSG("Unknown MUC room option, will be discarded: ~p", [Other]), ?INFO_MSG("Unknown MUC room option, will be discarded: ~p", [Other]),
StateData StateData