mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-14 00:05:04 +01:00
Store pending push configuration to user
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
5e487dcdc2
commit
69a4a8a7c2
@ -172,6 +172,7 @@ class LoginEntryViewModel constructor(
|
||||
val pushConfiguration = PushConfiguration()
|
||||
val pushConfigurationStateWrapper = PushConfigurationStateWrapper(PushConfigurationState.PENDING, 0)
|
||||
pushConfiguration.pushConfigurationStateWrapper = pushConfigurationStateWrapper
|
||||
user.pushConfiguration = pushConfiguration
|
||||
usersRepository.insertUser(user)
|
||||
setAdjustedUserAsActive()
|
||||
registerForPush()
|
||||
|
Loading…
Reference in New Issue
Block a user