We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c10e6dd commit 6285b9fCopy full SHA for 6285b9f
crates/syn2mas/src/migration.rs
@@ -483,6 +483,12 @@ async fn migrate_threepids(
483
.into_extract_localpart(synapse_user_id.clone())?
484
.to_owned();
485
let Some(user_infos) = state.users.get(username.as_str()).copied() else {
486
+ // HACK(matrix.org): we seem to have many threepids for unknown users
487
+ if state.users.contains_key(username.to_lowercase().as_str()) {
488
+ tracing::warn!(mxid = %synapse_user_id, "Threepid found in the database matching an MXID with the wrong casing");
489
+ continue;
490
+ }
491
+
492
return Err(Error::MissingUserFromDependentTable {
493
table: "user_threepids".to_owned(),
494
user: synapse_user_id,
0 commit comments