diff --git a/vector/src/main/java/im/vector/app/core/pushers/VectorMessagingReceiver.kt b/vector/src/main/java/im/vector/app/core/pushers/VectorMessagingReceiver.kt index 0949b2f657..acfe22cb11 100755 --- a/vector/src/main/java/im/vector/app/core/pushers/VectorMessagingReceiver.kt +++ b/vector/src/main/java/im/vector/app/core/pushers/VectorMessagingReceiver.kt @@ -158,8 +158,8 @@ val upHandler = object: MessagingReceiverHandler { Timber.i("onNewEndpoint: adding $endpoint") if (vectorPreferences.areNotificationEnabledForDevice() && activeSessionHolder.hasActiveSession()) { val gateway = UPHelper.customOrDefaultGateway(context, endpoint) - if (UPHelper.getUpEndpoint(context) != endpoint || - UPHelper.getPushGateway(context) != gateway) { + if (UPHelper.getUpEndpoint(context) != endpoint + || UPHelper.getPushGateway(context) != gateway) { UPHelper.storePushGateway(context, gateway) UPHelper.storeUpEndpoint(context, endpoint) pusherManager.registerPusher(context, endpoint, gateway)