mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 21:26:50 +00:00
Refactor to async closures.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
cca0f20148
commit
c8d35cca57
36 files changed
+78
-80
No files matched your search
@@ -75,7 +75,7 @@ async fn share_encrypted_room(
|
||||
.get_shared_rooms(sender_user, user_id)
|
||||
.ready_filter(|&room_id| Some(room_id) != ignore_room)
|
||||
.map(ToOwned::to_owned)
|
||||
.broad_any(|other_room_id| async move {
|
||||
.broad_any(async |other_room_id| {
|
||||
services
|
||||
.rooms
|
||||
.state_accessor
|
||||
|
||||
Reference in new issue
Block a user