Skip to content

Commit c10e6dd

Browse files
committed
HACK: special case for :vector.im threepids
1 parent 5a1ac37 commit c10e6dd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

crates/syn2mas/src/migration.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,12 @@ async fn migrate_threepids(
472472
} = threepid_res.into_synapse("reading threepid")?;
473473
let created_at: DateTime<Utc> = added_at.into();
474474

475+
// HACK(matrix.org): for some reason, m.org has threepids for the :vector.im
476+
// server. We skip just skip them.
477+
if synapse_user_id.0.ends_with(":vector.im") {
478+
continue;
479+
}
480+
475481
let username = synapse_user_id
476482
.extract_localpart(&state.server_name)
477483
.into_extract_localpart(synapse_user_id.clone())?

0 commit comments

Comments
 (0)