implemented full interactive poll support in Talk, including creation, voting, and closing functionality

This commit is contained in:
2026-07-12 17:54:30 +02:00
parent 3f44e9302f
commit 44e45c9b78
15 changed files with 946 additions and 87 deletions
+3 -3
View File
@@ -168,12 +168,12 @@ class _ChatBubbleState extends State<ChatBubble>
void _onTap() {
final obj = message.originalData?['object'];
if (obj?.type == RichObjectStringObjectType.talkPoll) {
showChatBubblePollDialog(
showChatBubblePollSheet(
context,
chatToken: widget.chatData.token,
messageToken: widget.bubbleData.token,
room: widget.chatData,
pollId: int.parse(obj!.id),
pollName: obj.name,
refetch: widget.refetch,
);
return;
}