Skip to content

Commit f1820f7

Browse files
committed
HACK: special case for :vector.im threepids
1 parent 2d39b07 commit f1820f7

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

357+
// HACK(matrix.org): for some reason, m.org has threepids for the :vector.im
358+
// server. We skip just skip them.
359+
if synapse_user_id.0.ends_with(":vector.im") {
360+
continue;
361+
}
362+
357363
let username = synapse_user_id
358364
.extract_localpart(&state.server_name)
359365
.into_extract_localpart(synapse_user_id.clone())?

0 commit comments

Comments
 (0)