implement rooms and not_rooms filters on /message

I really doubt anybody is sending /message requests with a filter that
rejects the entire request, but it's the first step in the filter
implementation.
This commit is contained in:
Benjamin Lee 2024-05-02 18:23:19 -07:00
parent a5e7ce6c33
commit 404d5fae6c
No known key found for this signature in database
GPG key ID: FB9624E2885D55A4
3 changed files with 116 additions and 1 deletions

View file

@ -1,4 +1,5 @@
pub(crate) mod error;
pub(crate) mod filter;
use std::{
borrow::Cow,