mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-31 19:42:34 +00:00
Register for push as soon as user is added
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
21806be718
commit
a4f43a42c9
@ -211,6 +211,8 @@ public class AccountVerificationController extends BaseController {
|
||||
cookieManager.getCookieStore().removeAll();
|
||||
userUtils.disableAllUsersWithoutId(userEntity.getId());
|
||||
|
||||
new JobRequest.Builder(PushRegistrationJob.TAG).setUpdateCurrent(true).startNow().build().schedule();
|
||||
|
||||
if (userUtils.getUsers().size() == 1) {
|
||||
getRouter().setRoot(RouterTransaction.with(new
|
||||
MagicBottomNavigationController())
|
||||
|
Loading…
Reference in New Issue
Block a user