Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 9e43fca

Browse files
authored
Merge pull request #5739 from matrix-org/travis/message-state-fixes/hidden-rr
Document behaviour of showReadReceipts=false for sent receipts
2 parents 33d0d90 + 78568d6 commit 9e43fca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/structures/MessagePanel.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,9 @@ export default class MessagePanel extends React.Component {
498498

499499
let prevEvent = null; // the last event we showed
500500

501+
// Note: the EventTile might still render a "sent/sending receipt" independent of
502+
// this information. When not providing read receipt information, the tile is likely
503+
// to assume that sent receipts are to be shown more often.
501504
this._readReceiptsByEvent = {};
502505
if (this.props.showReadReceipts) {
503506
this._readReceiptsByEvent = this._getReadReceiptsByShownEvent();

0 commit comments

Comments
 (0)