diff --git a/app/src/main/java/com/nextcloud/talk/utils/PushUtils.java b/app/src/main/java/com/nextcloud/talk/utils/PushUtils.java index 85c7edb54..172e57260 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/PushUtils.java +++ b/app/src/main/java/com/nextcloud/talk/utils/PushUtils.java @@ -288,7 +288,7 @@ public class PushUtils { ncApi.registerDeviceForNotificationsWithProxy(finalCredentials, ApiUtils.getUrlPushProxy(), proxyMap) .subscribeOn(Schedulers.newThread()) - .blockingSubscribe(new Observer() { + .subscribe(new Observer() { @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() { + .subscribe(new Observer() { @Override public void onSubscribe(Disposable d) {