Skip to content

Commit

Permalink
fix: Remove unused conversation id [#WPB-14256]
Browse files Browse the repository at this point in the history
  • Loading branch information
m-zagorski committed Dec 17, 2024
1 parent 1ca6dfc commit e0128c9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ import com.wire.kalium.logic.data.id.ConversationId
* Used mainly for analytics.
*/
interface ObserveRecentlyEndedCallMetadataUseCase {
suspend operator fun invoke(conversationId: ConversationId): Flow<RecentlyEndedCallMetadata>
suspend operator fun invoke(): Flow<RecentlyEndedCallMetadata>
}

class ObserveRecentlyEndedCallMetadataUseCaseImpl internal constructor(
private val callRepository: CallRepository,
) : ObserveRecentlyEndedCallMetadataUseCase {
override suspend fun invoke(conversationId: ConversationId): Flow<RecentlyEndedCallMetadata> {
override suspend fun invoke(): Flow<RecentlyEndedCallMetadata> {
return callRepository.observeRecentlyEndedCallMetadata()
}
}

0 comments on commit e0128c9

Please sign in to comment.