25
1
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:
Badlop 2020-08-28 12:01:09 +02:00
parent 743b25448a
commit a3be28b5c4

View File

@ -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()) ->