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 d9dc30b commit 7c3f81aCopy full SHA for 7c3f81a
crates/syn2mas/src/migration.rs
@@ -485,6 +485,12 @@ async fn migrate_threepids(
485
.into_extract_localpart(synapse_user_id.clone())?
486
.to_owned();
487
let Some(user_infos) = state.users.get(username.as_str()).copied() else {
488
+ // HACK(matrix.org): we seem to have many threepids for unknown users
489
+ if state.users.contains_key(username.to_lowercase().as_str()) {
490
+ tracing::warn!(mxid = %synapse_user_id, "Threepid found in the database matching an MXID with the wrong casing");
491
+ continue;
492
+ }
493
+
494
return Err(Error::MissingUserFromDependentTable {
495
table: "user_threepids".to_owned(),
496
user: synapse_user_id,
0 commit comments