From bf958e0008b6c13c426b91fc956c703bd159a883 Mon Sep 17 00:00:00 2001 From: hayaksi1 <193020925+hayaksi1@users.noreply.github.com> Date: Sun, 9 Aug 2026 14:42:04 +0300 Subject: [PATCH] Drop the comment above the UnifiedPush registration call Review feedback: the named `messageForDistributor` argument already says what the session id is doing there, so the comment only added noise. --- .../pushproviders/unifiedpush/RegisterUnifiedPushUseCase.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/libraries/pushproviders/unifiedpush/src/main/kotlin/io/element/android/libraries/pushproviders/unifiedpush/RegisterUnifiedPushUseCase.kt b/libraries/pushproviders/unifiedpush/src/main/kotlin/io/element/android/libraries/pushproviders/unifiedpush/RegisterUnifiedPushUseCase.kt index d76d69a653..0e1566ba59 100644 --- a/libraries/pushproviders/unifiedpush/src/main/kotlin/io/element/android/libraries/pushproviders/unifiedpush/RegisterUnifiedPushUseCase.kt +++ b/libraries/pushproviders/unifiedpush/src/main/kotlin/io/element/android/libraries/pushproviders/unifiedpush/RegisterUnifiedPushUseCase.kt @@ -34,9 +34,6 @@ class DefaultRegisterUnifiedPushUseCase( UnifiedPush.saveDistributor(context, distributor.value) // This will trigger the callback // VectorUnifiedPushMessagingReceiver.onNewEndpoint - // The session id is passed as the message for the distributor, so that its UI can tell one - // registration from another when several accounts are registered. - // See https://github.com/element-hq/element-x-android/issues/6426 UnifiedPush.register(context = context, instance = clientSecret, messageForDistributor = sessionId.value) // Wait for VectorUnifiedPushMessagingReceiver.onNewEndpoint to proceed @Suppress("RunCatchingNotAllowed")