mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Revert "Support for default values in default_room_opts"
This reverts commit 5054a9933f
.
The commit is plain wrong: similar options are not required to
be in pair.
This commit is contained in:
parent
0d3637d18f
commit
da1a5036fe
@ -3378,8 +3378,6 @@ remove_nonmembers(StateData) ->
|
||||
|
||||
-spec set_opts([{atom(), any()}], state()) -> state().
|
||||
set_opts([], StateData) -> StateData;
|
||||
set_opts([{Opt, Val}, {Opt, _DefaultVal} | Opts], StateData) ->
|
||||
set_opts([{Opt, Val} | Opts], StateData);
|
||||
set_opts([{Opt, Val} | Opts], StateData) ->
|
||||
NSD = case Opt of
|
||||
title ->
|
||||
|
Loading…
Reference in New Issue
Block a user