Map new CALL_MEMBER state, and fix issue on fun canUserJoinCall().
This commit is contained in:
parent
d27bf2d93a
commit
c9ba607edf
4 changed files with 5 additions and 7 deletions
|
|
@ -132,7 +132,8 @@ interface MatrixRoom : Closeable {
|
|||
|
||||
suspend fun canUserTriggerRoomNotification(userId: UserId): Result<Boolean>
|
||||
|
||||
suspend fun canUserJoinCall(userId: UserId): Result<Boolean>
|
||||
suspend fun canUserJoinCall(userId: UserId): Result<Boolean> =
|
||||
canUserSendState(userId, StateEventType.CALL_MEMBER)
|
||||
|
||||
suspend fun updateAvatar(mimeType: String, data: ByteArray): Result<Unit>
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ enum class StateEventType {
|
|||
POLICY_RULE_ROOM,
|
||||
POLICY_RULE_SERVER,
|
||||
POLICY_RULE_USER,
|
||||
CALL_MEMBER,
|
||||
ROOM_ALIASES,
|
||||
ROOM_AVATAR,
|
||||
ROOM_CANONICAL_ALIAS,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue