Skip to content

Commit 6dfb22b

Browse files
committed
fix(fc/room/info): request promote for listeners
Signed-off-by: Brandon McAnsh <[email protected]>
1 parent dde6f78 commit 6dfb22b

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/info/RoomInfoScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ private fun RoomInfoScreenContent(
401401
.pointerInput(Unit) {
402402
detectTapGestures(
403403
onLongPress = if (state.isHost && !member.isSelf) { _ ->
404-
dispatch(ChatInfoViewModel.Event.DemoteRequested(member))
404+
dispatch(ChatInfoViewModel.Event.PromoteRequested(member))
405405
} else null,
406406
onTap = if (state.canViewUserProfile) { _ ->
407407
viewUserProfile(member)

0 commit comments

Comments
 (0)