Skip to content

Commit

Permalink
Merge branch 'develop' into feat/mls/fetch-mls-self-groupid
Browse files Browse the repository at this point in the history
  • Loading branch information
mchenani authored Oct 19, 2023
2 parents 2c1386f + 91223ab commit 285b0ab
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 31 deletions.
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "gradle"
open-pull-requests-limit: 1
directory: "/"
schedule:
interval: "daily"
reviewers:
- "wireapp/android"

- package-ecosystem: "github-actions"
open-pull-requests-limit: 1
directory: "/"
schedule:
interval: "weekly"
reviewers:
- "wireapp/android"
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ import com.wire.kalium.logic.feature.auth.ClearUserDataUseCaseImpl
import com.wire.kalium.logic.feature.auth.LogoutUseCase
import com.wire.kalium.logic.feature.auth.LogoutUseCaseImpl
import com.wire.kalium.logic.feature.backup.BackupScope
import com.wire.kalium.logic.feature.backup.CreateBackupUseCase
import com.wire.kalium.logic.feature.backup.RestoreBackupUseCase
import com.wire.kalium.logic.feature.backup.VerifyBackupUseCase
import com.wire.kalium.logic.feature.call.CallManager
import com.wire.kalium.logic.feature.call.CallsScope
import com.wire.kalium.logic.feature.call.GlobalCallManager
Expand Down Expand Up @@ -210,18 +207,12 @@ import com.wire.kalium.logic.feature.keypackage.KeyPackageManagerImpl
import com.wire.kalium.logic.feature.message.AddSystemMessageToAllConversationsUseCase
import com.wire.kalium.logic.feature.message.AddSystemMessageToAllConversationsUseCaseImpl
import com.wire.kalium.logic.feature.message.EphemeralEventsNotificationManagerImpl
import com.wire.kalium.logic.feature.message.MLSMessageCreator
import com.wire.kalium.logic.feature.message.MLSMessageCreatorImpl
import com.wire.kalium.logic.feature.message.MessageEnvelopeCreator
import com.wire.kalium.logic.feature.message.MessageEnvelopeCreatorImpl
import com.wire.kalium.logic.feature.message.MessageScope
import com.wire.kalium.logic.feature.message.MessageSendingScheduler
import com.wire.kalium.logic.feature.message.PendingProposalScheduler
import com.wire.kalium.logic.feature.message.PendingProposalSchedulerImpl
import com.wire.kalium.logic.feature.message.PersistMigratedMessagesUseCase
import com.wire.kalium.logic.feature.message.PersistMigratedMessagesUseCaseImpl
import com.wire.kalium.logic.feature.message.SessionEstablisher
import com.wire.kalium.logic.feature.message.SessionEstablisherImpl
import com.wire.kalium.logic.feature.message.StaleEpochVerifier
import com.wire.kalium.logic.feature.message.StaleEpochVerifierImpl
import com.wire.kalium.logic.feature.migration.MigrationScope
Expand Down Expand Up @@ -742,15 +733,6 @@ class UserSessionScope internal constructor(
globalPreferences,
)

@Deprecated("UseCases should be in their respective scopes", ReplaceWith("backup.create"))
val createBackup: CreateBackupUseCase get() = backup.create

@Deprecated("UseCases should be in their respective scopes", ReplaceWith("backup.verify"))
val verifyBackupUseCase: VerifyBackupUseCase get() = backup.verify

@Deprecated("UseCases should be in their respective scopes", ReplaceWith("backup.restore"))
val restoreBackup: RestoreBackupUseCase get() = backup.restore

val persistMessage: PersistMessageUseCase
get() = PersistMessageUseCaseImpl(messageRepository, userId)

Expand Down Expand Up @@ -798,19 +780,6 @@ class UserSessionScope internal constructor(
authenticatedNetworkContainer.clientApi,
)

private val sessionEstablisher: SessionEstablisher
get() = SessionEstablisherImpl(proteusClientProvider, preKeyRepository)

private val messageEnvelopeCreator: MessageEnvelopeCreator
get() = MessageEnvelopeCreatorImpl(
proteusClientProvider = proteusClientProvider, selfUserId = userId
)

private val mlsMessageCreator: MLSMessageCreator
get() = MLSMessageCreatorImpl(
mlsClientProvider = mlsClientProvider, selfUserId = userId
)

private val messageSendingScheduler: MessageSendingScheduler
get() = userSessionWorkScheduler

Expand Down

0 comments on commit 285b0ab

Please sign in to comment.