refactor: Remove element_hacks

This commit is contained in:
Ginger authored and Ellis Git committed 2026-12-03 18:49:39 +00:00
1 parent 1e74e1b445
commit 1a616146d0
7 files changed
+3 -16

No files matched your search

-1
View File
@@ -30,7 +30,6 @@ console = [
"dep:rustyline-async",
"dep:termimad",
]
element_hacks = []
gzip_compression = [
"conduwuit-core/gzip_compression",
"reqwest/gzip",
+1 -2
View File
@@ -75,8 +75,7 @@ impl Service {
"lazy loading should be enabled by your options"
);
let include_redundant = cfg!(feature = "element_hacks")
|| ctx.options.is_some_and(Options::include_redundant_members);
let include_redundant = ctx.options.is_some_and(Options::include_redundant_members);
let witness = self
.witness(ctx, senders.iter().map(AsRef::as_ref))