Browse Source

Merge 9351e91de0 into b30cc08562

pull/7378/merge
maximilize 1 week ago
committed by GitHub
parent
commit
b63de886cd
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 7
      src/api/identity.rs

7
src/api/identity.rs

@ -507,7 +507,12 @@ async fn authenticated_response(
// register push device // register push device
if !device.is_new() { if !device.is_new() {
register_push_device(device, conn).await?; // Registering the device for push is best-effort: a failure talking to the
// push relay/identity server must not turn a successful authentication into
// an error (see #7371). This mirrors the new-device email handling above.
if let Err(e) = register_push_device(device, conn).await {
error!("An error occurred while registering the device for push notifications: {e}");
}
} }
// Save to update `device.updated_at` to track usage and toggle new status // Save to update `device.updated_at` to track usage and toggle new status

Loading…
Cancel
Save