mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-16 17:25:01 +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 pushConfiguration = PushConfiguration()
|
||||||
val pushConfigurationStateWrapper = PushConfigurationStateWrapper(PushConfigurationState.PENDING, 0)
|
val pushConfigurationStateWrapper = PushConfigurationStateWrapper(PushConfigurationState.PENDING, 0)
|
||||||
pushConfiguration.pushConfigurationStateWrapper = pushConfigurationStateWrapper
|
pushConfiguration.pushConfigurationStateWrapper = pushConfigurationStateWrapper
|
||||||
|
user.pushConfiguration = pushConfiguration
|
||||||
usersRepository.insertUser(user)
|
usersRepository.insertUser(user)
|
||||||
setAdjustedUserAsActive()
|
setAdjustedUserAsActive()
|
||||||
registerForPush()
|
registerForPush()
|
||||||
|
Loading…
Reference in New Issue
Block a user