mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-19 15:32:08 +02:00
mod_mix: Use disco identity conference/mix
Probably someone has forgotten to update it here. https://xmpp.org/extensions/xep-0369.html#example-5 Fixes #2901.
This commit is contained in:
parent
ac06161f30
commit
d7c9809c59
@ -166,7 +166,7 @@ process_disco_info(#iq{type = get, to = #jid{luser = <<>>} = To,
|
|||||||
[ServerHost, ?MODULE, <<"">>, Lang]),
|
[ServerHost, ?MODULE, <<"">>, Lang]),
|
||||||
Name = mod_mix_opt:name(ServerHost),
|
Name = mod_mix_opt:name(ServerHost),
|
||||||
Identity = #identity{category = <<"conference">>,
|
Identity = #identity{category = <<"conference">>,
|
||||||
type = <<"text">>,
|
type = <<"mix">>,
|
||||||
name = translate:translate(Lang, Name)},
|
name = translate:translate(Lang, Name)},
|
||||||
Features = [?NS_DISCO_INFO, ?NS_DISCO_ITEMS,
|
Features = [?NS_DISCO_INFO, ?NS_DISCO_ITEMS,
|
||||||
?NS_MIX_CORE_0, ?NS_MIX_CORE_SEARCHABLE_0,
|
?NS_MIX_CORE_0, ?NS_MIX_CORE_SEARCHABLE_0,
|
||||||
|
Loading…
Reference in New Issue
Block a user