mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +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