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:
Argenis 2026-03-23 12:19:10 -04:00 committed by Roman Tataurov
parent 4d56b972f5
commit ef673abfc2
No known key found for this signature in database
GPG Key ID: 70A51EF3185C334B

View File

@ -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."
);