mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Expose the pubsub#type field in disco#info query to the node (#3914)
This commit is contained in:
parent
fe8b98a1f3
commit
03681cd68d
1 changed files with 1 additions and 0 deletions
|
@ -969,6 +969,7 @@ node_disco_info(Host, Node, _From, _Identity, _Features) ->
|
|||
_ -> []
|
||||
end,
|
||||
Meta = [{title, get_option(Options, title, <<>>)},
|
||||
{type, get_option(Options, type, <<>>)},
|
||||
{description, get_option(Options, description, <<>>)},
|
||||
{owner, [jid:make(LJID) || {LJID, Aff} <- Affs, Aff =:= owner]},
|
||||
{publisher, [jid:make(LJID) || {LJID, Aff} <- Affs, Aff =:= publisher]},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue