Commit a8d280b9 authored by Daniel García Moreno's avatar Daniel García Moreno
Browse files

api: Ignore member event in the initial sync

This change speedup the initial sync because we're removing a lot of
events that we don't need at the moment. We're getting the list of
members just when we enters clicks in a room.
parent 5e11e32b
Pipeline #11183 passed with stage
in 52 minutes and 39 seconds
......@@ -28,7 +28,8 @@ pub fn sync(bk: &Backend) -> Result<(), Error> {
let filter = format!("{{
\"room\": {{
\"state\": {{
\"types\": [\"*\"]
\"types\": [\"*\"],
\"not_types\": [\"\"]
\"timeline\": {{
\"types\": [\"\"],
Supports Markdown
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