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

Redacting a pin event breaks the message context menu in that room #6635

Closed
tulir opened this issue Apr 29, 2018 · 1 comment · Fixed by matrix-org/matrix-react-sdk#4133
Closed
Assignees
Labels
A-Redaction P3 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@tulir
Copy link
Contributor

tulir commented Apr 29, 2018

Steps to reproduce

  • Pin a message
  • Redact the event that pinned the message
  • Try to open a message context menu

Context menu does not open, console shows

TypeError: t.getContent(...).pinned is undefined @ MessageContextMenu.js:82:15

The context menu can be restored by manually sending a valid m.room.pinned_events event, such as {"pinned": []}

Version information

@lampholder
Copy link
Member

I expect us to be looking at pinned messages impl in the near future - we'll bear this in mind then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Redaction P3 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants