mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +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}]} =
|
#iq{type = result, sub_els = [#muc_subscriptions{list = JIDs}]} =
|
||||||
send_recv(Config, #iq{type = get, to = MUC,
|
send_recv(Config, #iq{type = get, to = MUC,
|
||||||
sub_els = [#muc_subscriptions{}]}),
|
sub_els = [#muc_subscriptions{}]}),
|
||||||
Rooms = lists:sort(JIDs),
|
Rooms = lists:sort([J || #muc_subscription{jid = J, events = []} <- Subs]),
|
||||||
lists:foreach(
|
lists:foreach(
|
||||||
fun(Room) ->
|
fun(Room) ->
|
||||||
ok = unsubscribe(Config, Room),
|
ok = unsubscribe(Config, Room),
|
||||||
|
Loading…
Reference in New Issue
Block a user