MarkConversationAsReadLocallyUseCase

Use case to immediately update the conversation read date in the local database

This is useful for immediately clearing the unread badge when the user leaves a conversation, while the debounced UpdateConversationReadDateUseCase handles sending confirmations and syncing to other devices.

Inheritors

Functions

Link copied to clipboard
abstract suspend operator fun invoke(conversationId: <Error class: unknown class>, time: <Error class: unknown class>): MarkConversationAsReadResult

Updates the conversation read date locally and returns whether the conversation still has unread events.