mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 15:36:30 +03:00
ci: update Rust to 1.84.0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user