mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
Fix push
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
92951252b3
commit
d7b7fd466a
@ -288,7 +288,7 @@ public class PushUtils {
|
||||
ncApi.registerDeviceForNotificationsWithProxy(finalCredentials,
|
||||
ApiUtils.getUrlPushProxy(), proxyMap)
|
||||
.subscribeOn(Schedulers.newThread())
|
||||
.blockingSubscribe(new Observer<Void>() {
|
||||
.subscribe(new Observer<Void>() {
|
||||
@Override
|
||||
public void onSubscribe(Disposable d) {
|
||||
|
||||
@ -316,7 +316,7 @@ public class PushUtils {
|
||||
userEntity.getDisplayName(),
|
||||
LoganSquare.serialize(pushConfigurationState), null,
|
||||
null, userEntity.getId(), null, null)
|
||||
.blockingSubscribe(new Observer<UserEntity>() {
|
||||
.subscribe(new Observer<UserEntity>() {
|
||||
@Override
|
||||
public void onSubscribe(Disposable d) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user