You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Support secret per-room hidden read receipts
This commit is contained in:
@ -685,7 +685,8 @@ const TimelinePanel = createReactClass({
|
|||||||
}
|
}
|
||||||
this.lastRMSentEventId = this.state.readMarkerEventId;
|
this.lastRMSentEventId = this.state.readMarkerEventId;
|
||||||
|
|
||||||
const hiddenRR = !SettingsStore.getValue("sendReadReceipts");
|
const roomId = this.props.timelineSet.room.roomId;
|
||||||
|
const hiddenRR = !SettingsStore.getValue("sendReadReceipts", roomId);
|
||||||
|
|
||||||
debuglog('TimelinePanel: Sending Read Markers for ',
|
debuglog('TimelinePanel: Sending Read Markers for ',
|
||||||
this.props.timelineSet.room.roomId,
|
this.props.timelineSet.room.roomId,
|
||||||
|
@ -395,7 +395,7 @@ export const SETTINGS = {
|
|||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
"sendReadReceipts": {
|
"sendReadReceipts": {
|
||||||
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
supportedLevels: LEVELS_ROOM_SETTINGS,
|
||||||
displayName: _td(
|
displayName: _td(
|
||||||
"Send read receipts for messages (requires compatible homeserver to disable)",
|
"Send read receipts for messages (requires compatible homeserver to disable)",
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user