Commit 6f89c55f authored by Daniel García Moreno's avatar Daniel García Moreno

Fix initial sync filter

parent 3c7b6821
......@@ -28,11 +28,11 @@ pub fn sync(bk: &Backend) -> Result<(), Error> {
let filter = format!("{{
\"room\": {{
\"state\": {{
\"types\": [\"m.room.*\"],
\"types\": [\"m.room.*\"]
}},
\"timeline\": {{
\"types\": [\"m.room.message\"],
\"limit\": {},
\"limit\": {}
}},
\"ephemeral\": {{ \"types\": [] }}
}},
......
......@@ -3234,8 +3234,8 @@ fn backend_loop(rx: Receiver<BKResponse>) {
APPOP!(show_error, (error));
APPOP!(enable_directory_search);
}
Ok(BKResponse::SyncError(_)) => {
println!("SYNC Error");
Ok(BKResponse::SyncError(err)) => {
println!("SYNC Error: {:?}", err);
APPOP!(sync_error);
}
Ok(err) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment