Browse Source

fix push device registration (#4297)

don't try to register a push device when the device is new
it will be registered when the push token is saved

fixes #4296
pull/4308/head
Stefan Melmuk 12 months ago
committed by GitHub
parent
commit
0b2383ab56
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      src/api/identity.rs

4
src/api/identity.rs

@ -268,7 +268,9 @@ async fn _password_login(
} }
// register push device // register push device
register_push_device(&mut device, conn).await?; if !new_device {
register_push_device(&mut device, conn).await?;
}
// Common // Common
// --- // ---

Loading…
Cancel
Save