Skip to content

[FEATURE] Add Polls Support for Group Chats #117

Description

@Akash504-ai

Feature Description

Allow group members to create polls within group conversations to collect opinions, make decisions, or conduct quick votes.

Polls should support multiple options, configurable voting rules, and real-time vote updates for all group members.


Problem it solves

Group members often need to make decisions such as choosing meeting times, selecting project ideas, or organizing events. Currently, these discussions require manual counting of responses, which can be confusing in active group chats.

A built-in polling feature makes group decision-making faster, more organized, and easier to manage.


Possible Solution

  • Allow users to create polls in group chats.
  • Support multiple poll options.
  • Allow single-choice voting initially (with optional support for multiple-choice in the future).
  • Display vote counts in real time using Socket.IO.
  • Prevent duplicate votes from the same user.
  • Allow poll creators to optionally set an expiration time.
  • Automatically close expired polls while keeping results visible.
  • Ensure only group members can create and vote in polls.

Additional Context

Acceptance Criteria

  • Users can create polls in group chats.
  • Group members can vote once per poll.
  • Vote counts update in real time.
  • Closed or expired polls cannot receive additional votes.
  • Poll results remain visible after closing.
  • Existing messaging functionality remains unaffected.

This feature is inspired by modern messaging platforms such as Telegram, Discord, and Microsoft Teams, which provide built-in polling to improve collaboration and group decision-making.

Metadata

Metadata

Assignees

No one assigned

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions