Skip to content

Commit 934e84a

Browse files
committed
fix(fc): only disable chat entry when closed if not host
Signed-off-by: Brandon McAnsh <[email protected]>
1 parent 6e0411c commit 934e84a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flipchatApp/src/main/kotlin/xyz/flipchat/app/features/chat/conversation/ConversationViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ class ConversationViewModel @Inject constructor(
306306
val chattableState = if (selfMember != null) {
307307
val isMuted = selfMember.isMuted
308308
val isSpectator = !selfMember.isFullMember
309-
val isRoomClosed = !conversation.isOpen
309+
val isRoomClosed = !conversation.isOpen && !selfMember.isHost
310310

311311
when {
312312
isSpectator -> ChattableState.Spectator(

0 commit comments

Comments
 (0)