Document behaviour of showReadReceipts=false for sent receipts

pull/21833/head
Travis Ralston 2021-03-10 01:40:43 -07:00
parent eb45731d2e
commit 78568d6a01
1 changed files with 3 additions and 0 deletions

View File

@ -498,6 +498,9 @@ export default class MessagePanel extends React.Component {
let prevEvent = null; // the last event we showed
// Note: the EventTile might still render a "sent/sending receipt" independent of
// this information. When not providing read receipt information, the tile is likely
// to assume that sent receipts are to be shown more often.
this._readReceiptsByEvent = {};
if (this.props.showReadReceipts) {
this._readReceiptsByEvent = this._getReadReceiptsByShownEvent();