mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Improve net security against snooping, make configurable
This commit is contained in:
1 parent
b8203255a1
commit
2ddb175323
12 files changed
+74
-8
No files matched your search
@@ -637,4 +637,8 @@ impl <C: Clone + Send> super::ConfigProvider<C> for CubeConfig {
|
||||
defederated: self.federation.defederated.clone(),
|
||||
})
|
||||
}
|
||||
|
||||
fn polariton_operation_modifier(&self) -> crate::OpModImpl {
|
||||
crate::OpModImpl::new(self.settings.polariton.clone())
|
||||
}
|
||||
}
|
||||
@@ -48,6 +48,7 @@ pub trait ConfigProvider<C: Clone> {
|
||||
fn redacted_json(&self) -> String;
|
||||
/// None when federation is not enabled
|
||||
fn federation(&self) -> Option<Federation>;
|
||||
fn polariton_operation_modifier(&self) -> crate::OpModImpl;
|
||||
}
|
||||
|
||||
pub struct DevMessageProvider<C: Clone> {
|
||||
|
||||
Reference in new issue
Block a user