Skip to main content Module migrate_profile_keys Copy item path Source use std::sync::Arc ; ๐ use ruma::UserId; ๐ use ruma::profile::ProfileFieldName; ๐ use tuwunel_core::Result ; ๐ use tuwunel_core::info ; ๐ use tuwunel_core::info ; ๐ use tuwunel_core::result::NotFound ; ๐ use tuwunel_core::utils::ReadyExt ; ๐ use tuwunel_core::utils::TryReadyExt ; ๐ use tuwunel_core::utils::stream::TryBroadbandExt ; ๐ use tuwunel_core::utils::stream::TryExpect ; ๐ use tuwunel_core::warn ; ๐ use tuwunel_database::Json ; ๐ use tuwunel_database::Map ; ๐ use super::tally::Outcome ; ๐ use super::tally::Tally ; ๐ use crate::Services ; ๐ use crate::integrity::useridprofilekey_value::Finding ; ๐ use crate::integrity::useridprofilekey_value::classify ; ๐ use crate::integrity::useridprofilekey_value::scan ; ๐ migrate_profile_keys ๐ Relocates the per-user displayname and avatar_url out of their dedicated
columns into the unified useridprofilekey_value store keyed by MSC4133 field
name, where the profile service now reads them. repair ๐ Re-encodes or removes the value a finding names, as it stands now.