mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Try to update tests to handle recent MUC subscriptions change (#2272)
This commit is contained in:
parent
10e01b7bfc
commit
0bf93eefcb
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ service_subscriptions(Config) ->
|
|||
#iq{type = result, sub_els = [#muc_subscriptions{list = JIDs}]} =
|
||||
send_recv(Config, #iq{type = get, to = MUC,
|
||||
sub_els = [#muc_subscriptions{}]}),
|
||||
Rooms = lists:sort(JIDs),
|
||||
Rooms = lists:sort([J || #muc_subscription{jid = J, events = []} <- Subs]),
|
||||
lists:foreach(
|
||||
fun(Room) ->
|
||||
ok = unsubscribe(Config, Room),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue