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

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> { ...@@ -28,7 +28,8 @@ pub fn sync(bk: &Backend) -> Result<(), Error> {
let filter = format!("{{ let filter = format!("{{
\"room\": {{ \"room\": {{
\"state\": {{ \"state\": {{
\"types\": [\"m.room.*\"] \"types\": [\"m.room.*\"],
\"not_types\": [\"m.room.member\"]
}}, }},
\"timeline\": {{ \"timeline\": {{
\"types\": [\"m.room.message\"], \"types\": [\"m.room.message\"],
......
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