mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-03 18:02:28 +01:00
parent
0b31aa490b
commit
3f901b3793
@ -3789,7 +3789,7 @@ destroy_room(DEl, StateData) ->
|
|||||||
-spec make_disco_info(jid(), state()) -> disco_info().
|
-spec make_disco_info(jid(), state()) -> disco_info().
|
||||||
make_disco_info(_From, StateData) ->
|
make_disco_info(_From, StateData) ->
|
||||||
Config = StateData#state.config,
|
Config = StateData#state.config,
|
||||||
Feats = [?NS_VCARD, ?NS_MUC,
|
Feats = [?NS_VCARD, ?NS_MUC, ?NS_DISCO_INFO, ?NS_DISCO_ITEMS,
|
||||||
?CONFIG_OPT_TO_FEATURE((Config#config.public),
|
?CONFIG_OPT_TO_FEATURE((Config#config.public),
|
||||||
<<"muc_public">>, <<"muc_hidden">>),
|
<<"muc_public">>, <<"muc_hidden">>),
|
||||||
?CONFIG_OPT_TO_FEATURE((Config#config.persistent),
|
?CONFIG_OPT_TO_FEATURE((Config#config.persistent),
|
||||||
|
Loading…
Reference in New Issue
Block a user