move markread into its own module file

This commit is contained in:
Jean Chevronnet 2026-08-08 22:47:10 +00:00
parent 50a95c6686
commit 768435d810
4 changed files with 106 additions and 64 deletions

View file

@ -8,6 +8,7 @@ pub mod cloak;
pub mod dnsbl;
pub mod filter;
pub mod flood;
pub mod markread;
pub mod metadata;
pub mod snoop;
@ -23,6 +24,7 @@ pub fn default_modules() -> Vec<Box<dyn Module>> {
Box::new(antimixedutf8::AntiMixedUtf8),
Box::new(filter::Filter),
Box::new(metadata::Metadata),
Box::new(markread::MarkRead),
]
}
@ -32,5 +34,6 @@ pub fn module_commands() -> Vec<Box<dyn Command>> {
filter::commands()
.into_iter()
.chain(metadata::commands())
.chain(markread::commands())
.collect()
}