eliminate references to services.globals.config

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-01-25 01:35:18 +00:00
1 parent 7c6b8b132a
commit 5be07ebc0f
26 files changed
+116 -114

No files matched your search

+2 -2
View File
@@ -309,7 +309,7 @@ async fn handle_edu_typing(
origin: &ServerName,
typing: TypingContent,
) {
if !services.globals.config.allow_incoming_typing {
if !services.server.config.allow_incoming_typing {
return;
}
@@ -344,7 +344,7 @@ async fn handle_edu_typing(
if typing.typing {
let timeout = utils::millis_since_unix_epoch().saturating_add(
services
.globals
.server
.config
.typing_federation_timeout_s
.saturating_mul(1000),