Browse Source

Merge 9351e91de0 into 660faee68e

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

7
src/api/identity.rs

@ -506,7 +506,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