File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
packages/stream_chat_flutter Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1111 events in the Channel class.
1212- [[ #2150 ]] ( https://github.com/GetStream/stream-chat-flutter/issues/2150 ) Fixed Push notifications
1313 for mentions shows user ID instead of Username.
14+ - [[ #2203 ]] ( https://github.com/GetStream/stream-chat-flutter/issues/2203 ) Fixed StreamMessageInput
15+ shows Poll option even if polls are disabled in channel config.
1416
1517## 9.7.0
1618
Original file line number Diff line number Diff line change @@ -969,7 +969,7 @@ class StreamMessageInputState extends State<StreamMessageInput>
969969 if (it != AttachmentPickerType .poll) return false ;
970970 if (_effectiveController.message.parentId != null ) return true ;
971971 final channel = StreamChannel .of (context).channel;
972- if (channel.canSendPoll) return false ;
972+ if (channel.config ? .polls == true && channel. canSendPoll) return false ;
973973
974974 return true ;
975975 });
You can’t perform that action at this time.
0 commit comments