You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Document behaviour of showReadReceipts=false for sent receipts
This commit is contained in:
@@ -498,6 +498,9 @@ export default class MessagePanel extends React.Component {
|
|||||||
|
|
||||||
let prevEvent = null; // the last event we showed
|
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 = {};
|
this._readReceiptsByEvent = {};
|
||||||
if (this.props.showReadReceipts) {
|
if (this.props.showReadReceipts) {
|
||||||
this._readReceiptsByEvent = this._getReadReceiptsByShownEvent();
|
this._readReceiptsByEvent = this._getReadReceiptsByShownEvent();
|
||||||
|
|||||||
Reference in New Issue
Block a user