refactor: Rename EnteredLoginParam::load() and save() to load_legacy() and save_legacy()

This commit is contained in:
Hocuri
2026-04-14 13:35:15 +02:00
parent 18d878378f
commit 5a6b1c62dd
3 changed files with 16 additions and 12 deletions

View File

@@ -76,7 +76,7 @@ impl Context {
/// Deprecated since 2025-02; use `add_transport_from_qr()`
/// or `add_or_update_transport()` instead.
pub async fn configure(&self) -> Result<()> {
let mut param = EnteredLoginParam::load(self).await?;
let mut param = EnteredLoginParam::load_legacy(self).await?;
self.add_transport_inner(&mut param).await
}
@@ -150,7 +150,7 @@ impl Context {
progress!(self, 0, Some(error_msg.clone()));
bail!(error_msg);
} else {
param.save(self).await?;
param.save_legacy(self).await?;
progress!(self, 1000);
}