mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Try to update tests to handle recent MUC subscriptions change (#2272)
This commit is contained in:
parent
10e01b7bfc
commit
0bf93eefcb
@ -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…
Reference in New Issue
Block a user