1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-16 22:01:54 +03:00

delete the rest too

This commit is contained in:
Travis Ralston
2020-12-09 18:50:16 -07:00
parent 27df6ae6e1
commit 80d6629c3e

View File

@ -715,8 +715,6 @@ class TimelinePanel extends React.Component {
}
this.lastRMSentEventId = this.state.readMarkerEventId;
const roomId = this.props.timelineSet.room.roomId;
debuglog('TimelinePanel: Sending Read Markers for ',
this.props.timelineSet.room.roomId,
'rm', this.state.readMarkerEventId,
@ -732,7 +730,7 @@ class TimelinePanel extends React.Component {
if (e.errcode === 'M_UNRECOGNIZED' && lastReadEvent) {
return MatrixClientPeg.get().sendReadReceipt(
lastReadEvent,
{hidden: hiddenRR},
{},
).catch((e) => {
console.error(e);
this.lastRRSentEventId = undefined;