Skip to content

Voting multiple times in a poll sends duplicate events #20129

Closed
matrix-org/matrix-react-sdk
#7326
@andybalaam

Description

@andybalaam

Steps to reproduce

  1. Show hidden events in your client
  2. In a room, create a poll
  3. Vote on an option multiple times
  4. Notice identical vote events are sent
    (Note: if you click very quickly, they are not sent, but if you go slower they are.)

Outcome

What did you expect?

I expected an event to be sent only when I change my vote.

What happened instead?

One was sent every time I clicked.

Operating system

No response

Browser information

No response

URL for webapp

No response

Application version

Element version: ebc2bb7-react-69c847b94c7f-js-dd8c157bb95a Olm version: 3.2.3

Homeserver

No response

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions