mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
Provide room disco info identity name only when title was set (#3370)
This commit is contained in:
parent
743b25448a
commit
a3be28b5c4
@ -4061,7 +4061,7 @@ make_disco_info(_From, StateData) ->
|
||||
end,
|
||||
#disco_info{identities = [#identity{category = <<"conference">>,
|
||||
type = <<"text">>,
|
||||
name = get_title(StateData)}],
|
||||
name = (StateData#state.config)#config.title}],
|
||||
features = Feats}.
|
||||
|
||||
-spec process_iq_disco_info(jid(), iq(), state()) ->
|
||||
|
Loading…
Reference in New Issue
Block a user