From ff0c98e8faef3d7697625ca15abae851a26efd9b Mon Sep 17 00:00:00 2001 From: S1m Date: Tue, 13 Jul 2021 08:29:05 +0200 Subject: [PATCH] lint --- .../im/vector/app/core/pushers/VectorMessagingReceiver.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)