Support secret per-room hidden read receipts
parent
af35cdc2ea
commit
e29184ae1d
|
@ -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)",
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue