mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-19 16:51:24 +01:00
implement per-event filtering for per-room account_data on /sync
This commit is contained in:
parent
7a0b8c986f
commit
1410b6f409
2 changed files with 24 additions and 1 deletions
|
|
@ -994,6 +994,7 @@ async fn load_joined_room(
|
|||
})
|
||||
.ok()
|
||||
})
|
||||
.filter(|event| filter.room.account_data.raw_event_allowed(event))
|
||||
.collect()
|
||||
} else {
|
||||
vec![]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue