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.
This commit is contained in:
hayaksi1
2026-08-09 14:42:04 +03:00
parent de0e628512
commit bf958e0008
@@ -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")