Skip to content

Clicking on the read receipt of a user who was never in the room causes a soft crash #21896

@robintown

Description

@robintown

Steps to reproduce

  1. Use an appservice such as mx-puppet-discord that sends a separate read receipt for the bridge bot in DMs, even though the bridge bot is not part of the DM
  2. Click on said read receipt

Outcome

What did you expect?

To open the read receipt info menu

What happened instead?

A soft crash ("Can't load this message (m.room.message)") with the following error in the console:

TypeError: roomMember is null ReadReceiptPerson ReadReceiptGroup.tsx:190 React 7 unstable_runWithPriority scheduler.production.min.js:18 React 5 rageshake.ts:72:27 

Operating system

NixOS unstable

Browser information

Firefox 99.0

URL for webapp

develop.element.io

Application version

Element version: 691b8d5-react-0c7a4dfcacea-js-1bb82108b742 Olm version: 3.2.8

Homeserver

Synapse 1.57.0

Will you send logs?

Yes

Metadata

Metadata

Assignees

Labels

A-Read-ReceiptsO-UncommonMost users are unlikely to come across this or unexpected workflowS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-DefectX-RegressionZ-RageshakeHas attached rageshake (not for log submission process)Z-Soft-CrashReact soft crash caught by an error boundary

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions