[fractal] Filter out call events on room timelines



commit 9c50d347fe5216c6d724b6799ae7064b8dbb3ab5
Author: jhaye <jhaye mailbox org>
Date:   Sat Apr 4 20:53:50 2020 +0200

    Filter out call events on room timelines

 fractal-matrix-api/src/backend/sync.rs | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/fractal-matrix-api/src/backend/sync.rs b/fractal-matrix-api/src/backend/sync.rs
index 928de470..c3e63311 100644
--- a/fractal-matrix-api/src/backend/sync.rs
+++ b/fractal-matrix-api/src/backend/sync.rs
@@ -56,6 +56,7 @@ pub fn sync(
                 }),
                 timeline: Some(RoomEventFilter {
                     types: Some(vec!["m.room.message", "m.sticker"]),
+                    not_types: vec!["m.call.*"],
                     limit: Some(globals::PAGE_LIMIT),
                     ..Default::default()
                 }),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]