mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
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:
-3
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user