Files
element-web/src
Paulo Pinto 1b334e47aa Fix issue that caused the value of certain settings to be inverted (#6896)
When using the SettingsStore.watchSetting() method for settings which have an
invertedSettingName, the newValueAt argument passed to the callback function,
would erroneously contain the inverted value.

This was making it so that such settings appeared to be disabled when they
should in fact be enabled, or vice-versa. This was however only the case for
code which took in account the newValueAt argument. Code using the newValue
argument was not affected.

The settings which have an invertedSettingName, and were thus potentially
impacted are:

- MessageComposerInput.dontSuggestEmoji
- hideRedactions
- hideJoinLeaves
- hideAvatarChanges
- hideDisplaynameChanges
- hideReadReceipts
- Pill.shouldHidePillAvatar
- TextualBody.disableBigEmoji
- dontSendTypingNotifications
- TagPanel.disableTagPanel
- webRtcForceTURN

Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-10-07 16:42:23 +02:00
..
2021-09-14 14:41:55 +01:00
2021-09-26 16:53:43 +02:00
2021-09-22 08:29:04 +02:00
2021-09-25 09:58:01 +02:00
2021-09-27 14:34:54 +02:00
2021-09-27 14:34:54 +02:00
2021-09-27 18:40:01 +02:00
2021-09-26 19:57:02 +02:00
2021-09-28 07:53:52 +02:00
2021-09-11 08:19:41 +02:00
2021-09-27 14:41:03 +02:00
2021-08-19 10:43:48 +02:00
2021-09-27 14:41:08 +02:00
2021-09-27 18:39:57 +02:00
2021-10-06 17:00:54 +01:00
2021-09-27 14:41:08 +02:00
2021-10-01 16:40:04 +02:00