Skip to content

Commit

Permalink
Allow processing of device lists to be async (#1359)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston authored Jul 24, 2023
1 parent 5508cbc commit cfab2c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/50federation/40devicelists.pl
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,9 @@
}
)
)
})->then( sub {
# Wait for the device list update to be handled
sync_until_user_in_device_list_id( $user, $creator_id )
})->then( sub {
# in stream_id 2, we add keys to the device but deliberately don't
# tell the remote server about it.
Expand Down Expand Up @@ -781,6 +784,9 @@
}
)
);
})->then( sub {
# Wait for the device list update to be handled
sync_until_user_in_device_list_id( $user, $creator_id )
})->then( sub {
do_request_json_for( $user,
method => "POST",
Expand Down

0 comments on commit cfab2c7

Please sign in to comment.