Skip to content

Commit 92a4bd3

Browse files
committed
HACK: Consider @fs_.+ as a appservice
1 parent 71c815f commit 92a4bd3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

crates/syn2mas/src/migration.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -929,11 +929,12 @@ fn transform_user(
929929
fn is_likely_appservice(localpart: &str) -> bool {
930930
// HACK(matrix.org): These are the namespaces we use on matrix.org
931931
localpart.starts_with('_')
932-
|| localpart.starts_with("freenode_")
933-
|| localpart.starts_with("slack_")
934-
|| localpart.starts_with("torn_")
935-
|| localpart.starts_with("gitter_")
936-
|| localpart.starts_with("mozilla_")
932+
|| localpart.starts_with("freenode_") // Freenode IRC bridge
933+
|| localpart.starts_with("slack_") // Slack bridge
934+
|| localpart.starts_with("torn_") // Torn IRC bridge
935+
|| localpart.starts_with("gitter_") // Gitter bridge
936+
|| localpart.starts_with("mozilla_") // Mozilla IRC bridge
937+
|| localpart.starts_with("fs_") // VoIP conference AS
937938
// HACK(matrix.org): Sender localparts of those appservices
938939
|| localpart == "bifrost"
939940
|| localpart == "appservice-irc"

0 commit comments

Comments
 (0)