fix(matrix): handle unused Result from backups().disable() (#4374)
Add let _ = prefix to suppress unused Result warning on client.encryption().backups().disable().await call. Closes #4339
This commit is contained in:
parent
4d56b972f5
commit
ef673abfc2
@ -586,7 +586,7 @@ impl MatrixChannel {
|
||||
if client.encryption().backups().are_enabled().await {
|
||||
tracing::info!("Matrix room-key backup is enabled for this device.");
|
||||
} else {
|
||||
client.encryption().backups().disable().await;
|
||||
let _ = client.encryption().backups().disable().await;
|
||||
tracing::warn!(
|
||||
"Matrix room-key backup is not enabled for this device; automatic backup attempts have been disabled to suppress recurring warnings. To enable backups, configure server-side key backup and recovery for this device."
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user