The federation app is not always installed, causing errors when
TrustedServers is injected as a hard dependency. This change makes
the dependency optional by using nullable types and null-safe
operators, defaulting to false when unavailable.
Modified backport of #55893 which are required for
the stable31 backport to function correctly.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
pull/55643/head
nfebe2025-11-11 09:24:02 +07:00committed byF. E Noel Nfebe