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,
|
end,
|
||||||
#disco_info{identities = [#identity{category = <<"conference">>,
|
#disco_info{identities = [#identity{category = <<"conference">>,
|
||||||
type = <<"text">>,
|
type = <<"text">>,
|
||||||
name = get_title(StateData)}],
|
name = (StateData#state.config)#config.title}],
|
||||||
features = Feats}.
|
features = Feats}.
|
||||||
|
|
||||||
-spec process_iq_disco_info(jid(), iq(), state()) ->
|
-spec process_iq_disco_info(jid(), iq(), state()) ->
|
||||||
|
|
Loading…
Reference in New Issue