mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
Support secret per-room hidden read receipts
This commit is contained in:
parent
af35cdc2ea
commit
e29184ae1d
2 changed files with 3 additions and 2 deletions
|
@ -685,7 +685,8 @@ const TimelinePanel = createReactClass({
|
|||
}
|
||||
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 ',
|
||||
this.props.timelineSet.room.roomId,
|
||||
|
|
|
@ -395,7 +395,7 @@ export const SETTINGS = {
|
|||
default: null,
|
||||
},
|
||||
"sendReadReceipts": {
|
||||
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
||||
supportedLevels: LEVELS_ROOM_SETTINGS,
|
||||
displayName: _td(
|
||||
"Send read receipts for messages (requires compatible homeserver to disable)",
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue