mirror of
https://github.com/processone/ejabberd
synced 2025-10-06 03:50:15 +02:00
Fix process_discoitems_result in mod_multicast
This commit is contained in:
parent
d71bc73271
commit
dfbdffad44
1 changed files with 2 additions and 1 deletions
|
@ -784,8 +784,9 @@ process_discoitems_result(From, LServiceS, #disco_items{items = Items}) ->
|
||||||
{found_waiter, Waiter} ->
|
{found_waiter, Waiter} ->
|
||||||
List = lists:flatmap(
|
List = lists:flatmap(
|
||||||
fun(#disco_item{jid = #jid{luser = <<"">>,
|
fun(#disco_item{jid = #jid{luser = <<"">>,
|
||||||
|
lserver = LServer,
|
||||||
lresource = <<"">>} = J}) ->
|
lresource = <<"">>} = J}) ->
|
||||||
[J];
|
[LServer];
|
||||||
(_) ->
|
(_) ->
|
||||||
[]
|
[]
|
||||||
end, Items),
|
end, Items),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue