25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Merge pull request #3634 from lnjX/mix-identity-conf-mix

mod_mix: Use disco identity conference/mix
This commit is contained in:
badlop 2021-07-15 17:15:48 +02:00 committed by GitHub
commit 57be0e38d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,