ClientDAO
Functions
Link copied to clipboard
abstract suspend fun conversationRecipient(ids: QualifiedIDEntity): Map<QualifiedIDEntity, List<Client>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getClientsOfConversation(id: QualifiedIDEntity): Map<QualifiedIDEntity, List<Client>>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getClientsOfUserByQualifiedIDFlow(qualifiedID: QualifiedIDEntity): <Error class: unknown class><List<Client>>
Link copied to clipboard
abstract suspend fun getClientsOfUsersByQualifiedIDs(ids: List<QualifiedIDEntity>): Map<QualifiedIDEntity, List<Client>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun observeClient(userId: QualifiedIDEntity, clientId: String): <Error class: unknown class><Client?>
Link copied to clipboard
abstract suspend fun observeClientsByUserId(qualifiedID: QualifiedIDEntity): <Error class: unknown class><List<Client>>
Link copied to clipboard
abstract suspend fun recipientsIfTheyArePartOfConversation(conversationId: ConversationIDEntity, userIds: Set<QualifiedIDEntity>): Map<QualifiedIDEntity, List<Client>>
Returns a map of users and their clients. the result include only users that are in the conversation
Link copied to clipboard
abstract suspend fun removeClientsAndReturnUsersWithNoClients(redundantClientsOfUsers: Map<UserIDEntity, List<String>>): List<QualifiedIDEntity>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun tryMarkInvalid(invalidClientsList: List<<Error class: unknown class><QualifiedIDEntity, List<String>>>)
Link copied to clipboard
abstract suspend fun updateClientProteusVerificationStatus(userId: QualifiedIDEntity, clientId: String, verified: Boolean)