Skip to content

Commit cbab90d

Browse files
author
Isaac
committed
Allow send messages when admin
1 parent 989e1b4 commit cbab90d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

submodules/TelegramUI/Components/Stories/StoryContainerScreen/Sources/StoryItemSetContainerComponent.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3006,7 +3006,7 @@ public final class StoryItemSetContainerComponent: Component {
30063006
if let visibleItemView = self.visibleItems[component.slice.item.id]?.view.view as? StoryItemContentComponent.View {
30073007
if let liveChatStateValue = visibleItemView.liveChatState {
30083008
liveChatState = MessageInputPanelComponent.LiveChatState(
3009-
isEnabled: liveChatStateValue.areMessagesEnabled,
3009+
isEnabled: liveChatStateValue.areMessagesEnabled || liveChatStateValue.isAdmin,
30103010
isExpanded: liveChatStateValue.isExpanded,
30113011
isEmpty: liveChatStateValue.isEmpty,
30123012
hasUnseenMessages: liveChatStateValue.hasUnseenMessages,

0 commit comments

Comments
 (0)