mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Fix process_discoitems_result in mod_multicast
This commit is contained in:
parent
d71bc73271
commit
dfbdffad44
@ -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…
Reference in New Issue
Block a user