Skip to content

Commit baebf27

Browse files
committed
HACK: special case for :vector.im threepids
1 parent e3c866d commit baebf27

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

459+
// HACK(matrix.org): for some reason, m.org has threepids for the :vector.im
460+
// server. We skip just skip them.
461+
if synapse_user_id.0.ends_with(":vector.im") {
462+
continue;
463+
}
464+
459465
let username = synapse_user_id
460466
.extract_localpart(&state.server_name)
461467
.into_extract_localpart(synapse_user_id.clone())?

0 commit comments

Comments
 (0)