parent
f7e750df60
commit
44acded0a0
|
@ -758,7 +758,7 @@ class TimelinePanel extends React.Component<IProps, IState> {
|
||||||
this.lastRMSentEventId = this.state.readMarkerEventId;
|
this.lastRMSentEventId = this.state.readMarkerEventId;
|
||||||
|
|
||||||
const roomId = this.props.timelineSet.room.roomId;
|
const roomId = this.props.timelineSet.room.roomId;
|
||||||
const hiddenRR = SettingsStore.getValue("feature_hiddenReadReceipts", roomId);
|
const hiddenRR = SettingsStore.getValue("feature_hidden_read_receipts", roomId);
|
||||||
|
|
||||||
debuglog('TimelinePanel: Sending Read Markers for ',
|
debuglog('TimelinePanel: Sending Read Markers for ',
|
||||||
this.props.timelineSet.room.roomId,
|
this.props.timelineSet.room.roomId,
|
||||||
|
|
|
@ -79,7 +79,7 @@ export default class LabsUserSettingsTab extends React.Component {
|
||||||
let hiddenReadReceipts;
|
let hiddenReadReceipts;
|
||||||
if (this.state.showHiddenReadReceipts) {
|
if (this.state.showHiddenReadReceipts) {
|
||||||
hiddenReadReceipts = (
|
hiddenReadReceipts = (
|
||||||
<SettingsFlag name="feature_hiddenReadReceipts" level={SettingLevel.ACCOUNT} />
|
<SettingsFlag name="feature_hidden_read_receipts" level={SettingLevel.ACCOUNT} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -333,7 +333,7 @@ export const SETTINGS: {[setting: string]: ISetting} = {
|
||||||
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
"feature_hiddenReadReceipts": {
|
"feature_hidden_read_receipts": {
|
||||||
supportedLevels: LEVELS_FEATURE,
|
supportedLevels: LEVELS_FEATURE,
|
||||||
displayName: _td(
|
displayName: _td(
|
||||||
"Don't send read receipts",
|
"Don't send read receipts",
|
||||||
|
|
Loading…
Reference in New Issue