We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72a3b94 commit 0dac1d4Copy full SHA for 0dac1d4
src/chat.js
@@ -180,8 +180,8 @@ export default class Chat extends Component {
180
const isUnsent = lastEventId !== this.lastReceiptSentId
181
if (differsFromLast && isUnsent) {
182
console.log("sending receipt")
183
- Client.client.setRoomReadMarkers(this.room.roomId, lastEventId, lastEvent, {}).catch(console.log)
184
- Client.client.sendReadReceipt(lastEvent, {}).then(_ => {
+ Client.client.setRoomReadMarkers(this.room.roomId, lastEventId, lastEvent).catch(console.log)
+ Client.client.sendReadReceipt(lastEvent).then(_ => {
185
// faster to zero these manually than waiting for the server
186
this.room.setUnreadNotificationCount('total', 0);
187
this.room.setUnreadNotificationCount('highlight', 0);
0 commit comments