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