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
1 changed files with 1 additions and 1 deletions

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