mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-03 18:02:28 +01:00
Don't forget to convert ljid() to jid()
This commit is contained in:
parent
29462f0053
commit
2161063e5e
@ -944,8 +944,8 @@ node_disco_info(Host, Node, _From, _Identity, _Features) ->
|
||||
end,
|
||||
Meta = [{title, get_option(Options, title, <<>>)},
|
||||
{description, get_option(Options, description, <<>>)},
|
||||
{owner, [LJID || {LJID, Aff} <- Affs, Aff =:= owner]},
|
||||
{publisher, [LJID || {LJID, Aff} <- Affs, Aff =:= publisher]},
|
||||
{owner, [jid:make(LJID) || {LJID, Aff} <- Affs, Aff =:= owner]},
|
||||
{publisher, [jid:make(LJID) || {LJID, Aff} <- Affs, Aff =:= publisher]},
|
||||
{num_subscribers, length([LJID || {LJID, Aff} <- Affs, Aff =:= subscriber])}],
|
||||
XData = #xdata{type = result,
|
||||
fields = pubsub_meta_data:encode(Meta)},
|
||||
|
Loading…
Reference in New Issue
Block a user