Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Poll] Warning message on decryption failure of some events #7824

Closed
mnaturel opened this issue Dec 20, 2022 · 0 comments · Fixed by #7851
Closed

[Poll] Warning message on decryption failure of some events #7824

mnaturel opened this issue Dec 20, 2022 · 0 comments · Fixed by #7851
Assignees
Labels
A-Polls T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements Z-Labs

Comments

@mnaturel
Copy link
Contributor

mnaturel commented Dec 20, 2022

Your use case

What would you like to do?

When at least one related event (m.reference relation type) to a given poll cannot be decrypted, the associated message contain a warning message saying the result may be inaccurate.

Why would you like to do it?

A poll message is an aggregation of multiple events. It means when some events fail to be decrypted, we may end up with inaccurate results.

How would you like to achieve it?

The message content should be “Due to decryption errors, some votes may not be counted”. The warning message replaces the vote status message at the bottom only when we display results i.e. when the poll is ended or when this is an open poll and current user has voted.

Have you considered any alternatives?

No response

Additional context

No response

Are you willing to provide a PR?

Yes

@mnaturel mnaturel added T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements A-Polls labels Dec 20, 2022
@mnaturel mnaturel self-assigned this Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Polls T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements Z-Labs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant