Package-level declarations

Types

Link copied to clipboard
class FederatedSearchParser(sessionRepository: SessionRepository, selfUserId: <Error class: unknown class>)
Link copied to clipboard

Check if FederatedSearchIsAllowed according to MLS configuration of the backend and the conversation protocol if a ConversationId is provided.

Link copied to clipboard
class SearchByHandleUseCase(searchUserRepository: SearchUserRepository, selfUserId: <Error class: unknown class>, maxRemoteSearchResultCount: Int)

Result of a search by handle.

Link copied to clipboard
class SearchScope(mlsPublicKeysRepository: MLSPublicKeysRepository, getDefaultProtocol: GetDefaultProtocolUseCase, getConversationProtocolInfo: GetConversationProtocolInfoUseCase, searchUserRepository: SearchUserRepository, sessionRepository: SessionRepository, selfUserId: <Error class: unknown class>, kaliumConfigs: KaliumConfigs)
Link copied to clipboard
data class SearchUserResult(val connected: List<UserSearchDetails>, val notConnected: List<UserSearchDetails>)
Link copied to clipboard

Use case for searching users.

Link copied to clipboard
class SearchUsersUseCaseImpl(searchUserRepository: SearchUserRepository, selfUserId: <Error class: unknown class>, maxRemoteSearchResultCount: Int) : SearchUsersUseCase

Functions

Link copied to clipboard
internal fun IsFederationSearchAllowedUseCase(mlsPublicKeysRepository: MLSPublicKeysRepository, getDefaultProtocol: GetDefaultProtocolUseCase, getConversationProtocolInfo: GetConversationProtocolInfoUseCase, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl): IsFederationSearchAllowedUseCase