CanCreatePasswordProtectedLinksUseCase

class CanCreatePasswordProtectedLinksUseCase(serverConfigRepository: ServerConfigRepository, selfUserId: UserId)

Use case to check if the current user can create password protected invite links. This is only possible if the server api version is greater or equal to 4.

Constructors

Link copied to clipboard
internal constructor(serverConfigRepository: ServerConfigRepository, selfUserId: UserId)

Functions

Link copied to clipboard
suspend operator fun invoke(): Boolean