mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
Replace Box::into_pin(Box::new( with Box::pin(
This commit is contained in:
parent
509b70bd82
commit
87a1012ab5
1 changed files with 2 additions and 2 deletions
|
|
@ -76,9 +76,9 @@ impl service::globals::Data for KeyValueDatabase {
|
|||
futures.push(self.pduid_pdu.watch_prefix(&short_roomid));
|
||||
|
||||
// EDUs
|
||||
futures.push(Box::into_pin(Box::new(async move {
|
||||
futures.push(Box::pin(async move {
|
||||
let _result = services().rooms.edus.typing.wait_for_update(&room_id).await;
|
||||
})));
|
||||
}));
|
||||
|
||||
futures.push(self.readreceiptid_readreceipt.watch_prefix(&roomid_prefix));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue