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 f1820f7 commit 5ef27ccCopy full SHA for 5ef27cc
crates/syn2mas/src/migration.rs
@@ -365,6 +365,12 @@ async fn migrate_threepids(
365
.into_extract_localpart(synapse_user_id.clone())?
366
.to_owned();
367
let Some(user_infos) = state.users.get(username.as_str()).copied() else {
368
+ // HACK(matrix.org): we seem to have many threepids for unknown users
369
+ if state.users.contains_key(username.to_lowercase().as_str()) {
370
+ tracing::warn!(mxid = %synapse_user_id, "Threepid found in the database matching an MXID with the wrong casing");
371
+ continue;
372
+ }
373
+
374
return Err(Error::MissingUserFromDependentTable {
375
table: "user_threepids".to_owned(),
376
user: synapse_user_id,
0 commit comments