mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 13:05:31 +03:00
Fix push
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
92951252b3
commit
d7b7fd466a
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue