Skip to content

Commit

Permalink
Allow processing of device lists to be async
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Jul 21, 2023
1 parent 5508cbc commit 2af9a93
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 2af9a93

Please sign in to comment.