Skip to content

Commit d9dc30b

Browse files
committed
HACK: special case for :vector.im threepids
1 parent 1410385 commit d9dc30b

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
@@ -474,6 +474,12 @@ async fn migrate_threepids(
474474
} = threepid_res.into_synapse("reading threepid")?;
475475
let created_at: DateTime<Utc> = added_at.into();
476476

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

0 commit comments

Comments
 (0)