ci: update Rust to 1.84.0

This commit is contained in:
link2xt
2025-01-10 00:57:01 +00:00
committed by l
parent a9e177f1e7
commit cb43382896
3 changed files with 7 additions and 9 deletions

View File

@@ -1589,10 +1589,8 @@ impl Session {
};
if self.can_metadata() && self.can_push() {
let device_token_changed = context
.get_config(Config::DeviceToken)
.await?
.map_or(true, |config_token| device_token != config_token);
let device_token_changed =
context.get_config(Config::DeviceToken).await?.as_ref() != Some(&device_token);
if device_token_changed {
let folder = context