@@ -329,7 +329,8 @@ async fn migrate_threepids(
329329 . into_extract_localpart ( synapse_user_id. clone ( ) ) ?
330330 . to_owned ( ) ;
331331 let Some ( user_id) = user_localparts_to_uuid. get ( username. as_str ( ) ) . copied ( ) else {
332- if is_likely_appservice ( & username) {
332+ if true || is_likely_appservice ( & username) {
333+ // HACK can we do anything better
333334 continue ;
334335 }
335336 return Err ( Error :: MissingUserFromDependentTable {
@@ -416,7 +417,8 @@ async fn migrate_external_ids(
416417 . into_extract_localpart ( synapse_user_id. clone ( ) ) ?
417418 . to_owned ( ) ;
418419 let Some ( user_id) = user_localparts_to_uuid. get ( username. as_str ( ) ) . copied ( ) else {
419- if is_likely_appservice ( & username) {
420+ if true || is_likely_appservice ( & username) {
421+ // HACK can we do anything better
420422 continue ;
421423 }
422424 return Err ( Error :: MissingUserFromDependentTable {
@@ -505,7 +507,8 @@ async fn migrate_devices(
505507 . into_extract_localpart ( synapse_user_id. clone ( ) ) ?
506508 . to_owned ( ) ;
507509 let Some ( user_id) = user_localparts_to_uuid. get ( username. as_str ( ) ) . copied ( ) else {
508- if is_likely_appservice ( & username) {
510+ if true || is_likely_appservice ( & username) {
511+ // HACK can we do anything better
509512 continue ;
510513 }
511514 return Err ( Error :: MissingUserFromDependentTable {
@@ -589,7 +592,8 @@ async fn migrate_unrefreshable_access_tokens(
589592 . into_extract_localpart ( synapse_user_id. clone ( ) ) ?
590593 . to_owned ( ) ;
591594 let Some ( user_id) = user_localparts_to_uuid. get ( username. as_str ( ) ) . copied ( ) else {
592- if is_likely_appservice ( & username) {
595+ if true || is_likely_appservice ( & username) {
596+ // HACK can we do anything better
593597 continue ;
594598 }
595599 return Err ( Error :: MissingUserFromDependentTable {
@@ -708,7 +712,8 @@ async fn migrate_refreshable_token_pairs(
708712 . into_extract_localpart ( synapse_user_id. clone ( ) ) ?
709713 . to_owned ( ) ;
710714 let Some ( user_id) = user_localparts_to_uuid. get ( username. as_str ( ) ) . copied ( ) else {
711- if is_likely_appservice ( & username) {
715+ if true || is_likely_appservice ( & username) {
716+ // HACK can we do anything better
712717 continue ;
713718 }
714719 return Err ( Error :: MissingUserFromDependentTable {
0 commit comments