Upgrade conduit from 0.6 to next
This commit is contained in:
parent
7d71caa8db
commit
2693126dca
5 changed files with 47 additions and 10 deletions
28
overlays/conduit-remove-dbg.patch
Normal file
28
overlays/conduit-remove-dbg.patch
Normal file
|
@ -0,0 +1,28 @@
|
|||
diff --git a/src/api/client_server/sync.rs b/src/api/client_server/sync.rs
|
||||
index a275b06..ed4e5c6 100644
|
||||
--- a/src/api/client_server/sync.rs
|
||||
+++ b/src/api/client_server/sync.rs
|
||||
@@ -1172,7 +1172,6 @@ fn share_encrypted_room(
|
||||
pub async fn sync_events_v4_route(
|
||||
body: Ruma<sync_events::v4::Request>,
|
||||
) -> Result<sync_events::v4::Response, RumaResponse<UiaaResponse>> {
|
||||
- dbg!(&body.body);
|
||||
let sender_user = body.sender_user.expect("user is authenticated");
|
||||
let sender_device = body.sender_device.expect("user is authenticated");
|
||||
let mut body = body.body;
|
||||
@@ -1689,7 +1688,7 @@ pub async fn sync_events_v4_route(
|
||||
let _ = tokio::time::timeout(duration, watcher).await;
|
||||
}
|
||||
|
||||
- Ok(dbg!(sync_events::v4::Response {
|
||||
+ Ok(sync_events::v4::Response {
|
||||
initial: globalsince == 0,
|
||||
txn_id: body.txn_id.clone(),
|
||||
pos: next_batch.to_string(),
|
||||
@@ -1744,5 +1743,5 @@ pub async fn sync_events_v4_route(
|
||||
},
|
||||
},
|
||||
delta_token: None,
|
||||
- }))
|
||||
+ })
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue