Merge pull request #797 from vector-im/feature/cjs/hide-self-in-search

This commit is contained in:
Chris Smith 2023-07-07 12:26:05 +01:00 committed by GitHub
commit 1ca7b0ab55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 75 additions and 17 deletions

View file

@ -62,4 +62,6 @@ interface MatrixClient : Closeable {
suspend fun loadUserAvatarURLString(): Result<String?>
suspend fun uploadMedia(mimeType: String, data: ByteArray, progressCallback: ProgressCallback?): Result<String>
fun roomMembershipObserver(): RoomMembershipObserver
fun isMe(userId: UserId?) = userId == sessionId
}