implement per-event filtering for per-room account_data on /sync

This commit is contained in:
Benjamin Lee 2024-05-21 14:35:09 -07:00
parent 7a0b8c986f
commit 1410b6f409
No known key found for this signature in database
GPG key ID: FB9624E2885D55A4
2 changed files with 24 additions and 1 deletions

View file

@ -994,6 +994,7 @@ async fn load_joined_room(
})
.ok()
})
.filter(|event| filter.room.account_data.raw_event_allowed(event))
.collect()
} else {
vec![]