Skip to content

Commit b6bb596

Browse files
committed
Revert "Ignore colons in localparts when importing users"
This reverts commit 7263bca.
1 parent 1c99829 commit b6bb596

File tree

1 file changed

+1
-1
lines changed
  • crates/syn2mas/src/synapse_reader

1 file changed

+1
-1
lines changed

crates/syn2mas/src/synapse_reader/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ impl FullUserId {
7373
return Err(ExtractLocalpartError::NoAtSigil);
7474
};
7575

76-
let Some((localpart, server_name)) = without_sigil.rsplit_once(':') else {
76+
let Some((localpart, server_name)) = without_sigil.split_once(':') else {
7777
return Err(ExtractLocalpartError::NoSeparator);
7878
};
7979

0 commit comments

Comments
 (0)