element-portable/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
..
@types Merge pull request #6869 from SimonBrandner/task/src-ts 2021-09-30 12:48:23 -06:00
accessibility iterate spaces treeview stuff 2021-08-09 14:01:34 +01:00
actions Second batch of burning 2021-07-02 17:08:27 +02:00
async-components/views/dialogs Change export bundle filename format, light theme for all exports and import jszip after export cta 2021-09-22 22:17:23 +05:30
audio Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
autocomplete Remove non-functional DuckDuckGo Autocomplete Provider 2021-08-31 16:05:16 +01:00
components Merge pull request #6311 from matrix-org/t3chguy/a11y/focus-lock-ctx-menu 2021-10-07 13:28:32 +01:00
contexts Add ability to properly edit messages in Threads. (#6877) 2021-10-01 15:35:54 +02:00
customisations use the mimetype from the info property rather than the EncryptedFile 2021-08-10 19:27:24 -04:00
dispatcher Add ability to properly edit messages in Threads. (#6877) 2021-10-01 15:35:54 +02:00
editor Happily handle empty text messages (#6825) 2021-09-28 15:04:25 +01:00
effects Comply with new member-delimiter-style rule 2021-07-01 23:23:03 +01:00
emojipicker Auto-fix lint errors 2021-06-29 13:11:58 +01:00
hooks Tidy some types 2021-09-14 14:41:55 +01:00
i18n/strings Merge pull request #6887 from matrix-org/t3chguy/fix/19216 2021-10-06 09:29:25 +01:00
indexing Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
integrations Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
mjolnir Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
models Improve and consolidate typing 2021-07-10 15:43:46 +01:00
notifications Fix more types around notifications 2021-07-12 21:48:20 -06:00
performance Comply with new member-delimiter-style rule 2021-07-01 23:23:03 +01:00
rageshake Convert rageshake to TS 2021-09-26 16:53:43 +02:00
resizer Fix resizer 2021-09-22 08:29:04 +02:00
settings Fix issue that caused the value of certain settings to be inverted (#6896) 2021-10-07 16:42:23 +02:00
stores Fix spaces keyboard shortcuts not working for last space 2021-10-06 10:56:11 +01:00
toasts Merge remote-tracking branch 'upstream/develop' into fix/ringing-sound/15591 2021-08-04 16:30:03 +02:00
usercontent Improve typing 2021-09-25 09:58:01 +02:00
utils Merge pull request #6887 from matrix-org/t3chguy/fix/19216 2021-10-06 09:29:25 +01:00
widgets Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
workers Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/c4 2021-07-14 18:36:12 +01:00
ActiveRoomObserver.ts Remove dupe import 2021-08-06 08:19:49 +02:00
AddThreepid.ts Convert AddThreepid to TS 2021-09-27 14:34:54 +02:00
Analytics.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
AsyncWrapper.tsx Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
Avatar.ts Merge remote-tracking branch 'upstream/develop' into fix/auto-avatars 2021-10-01 15:46:35 +02:00
BasePlatform.ts Merge branch 'develop' into t3chguy/ts/4 2021-06-29 22:24:47 +01:00
BlurhashEncoder.ts add valuable ts-ignore 2021-07-14 19:16:34 +01:00
boundThreepids.ts Convert boundThreepid to TS 2021-09-27 14:34:54 +02:00
CallHandler.tsx Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
ContentMessages.tsx Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
CountlyAnalytics.ts Merge remote-tracking branch 'upstream/develop' into task/dialogs-ts 2021-09-22 10:42:02 +02:00
createRoom.ts Only make the initial space rooms suggested by default 2021-08-31 16:42:21 +01:00
DateUtils.ts Merge branch 'develop' into export-conversations 2021-09-22 18:07:01 +05:30
DecryptionFailureTracker.ts Fix setTimeout/setInterval typing 2021-07-12 09:02:46 +01:00
DeviceListener.ts Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
email.ts
emoji.ts Improve emoji shortcodes generated from annotations 2021-10-06 09:47:56 +01:00
GroupAddressPicker.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
groups.js
HtmlUtils.tsx Fix indent 2021-08-04 10:34:48 +02:00
identifiers.ts
IdentityAuthClient.tsx Add some member access qualifiers 2021-09-28 07:48:56 +02:00
ImageUtils.ts
index.ts Convert index to TS 2021-09-27 18:40:01 +02:00
KeyBindingsDefaults.ts Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/composer-list-autocomplete 2021-07-15 09:59:40 +01:00
KeyBindingsManager.ts Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/composer-list-autocomplete 2021-07-15 09:59:40 +01:00
Keyboard.ts
languageHandler.tsx Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
Lifecycle.ts Convert ActiveWidgetStore to TS 2021-09-26 19:57:02 +02:00
linkify-matrix.ts Use click not onclick 2021-09-28 07:53:52 +02:00
Livestream.ts
Login.ts Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
Markdown.ts Add types to the implementations too 2021-07-01 23:02:51 +01:00
MatrixClientPeg.ts Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
MediaDeviceHandler.ts Use MediaHandler 2021-09-11 08:19:41 +02:00
Modal.tsx fix three lints 2021-07-20 10:33:52 +01:00
NodeAnimator.tsx Add some member access qualifiers 2021-09-28 07:48:56 +02:00
Notifier.ts Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
PageTypes.ts Convert PageTypes to TS 2021-09-27 14:41:03 +02:00
PasswordReset.ts Add missing types 2021-08-19 10:43:48 +02:00
phonenumber.ts Migrate CountryDropdown to TypeScript 2021-07-15 15:42:11 +02:00
PlatformPeg.ts
PosthogAnalytics.ts Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
Presence.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
Registration.tsx Convert Registration to TS 2021-09-27 14:41:08 +02:00
Resend.ts Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
Roles.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
RoomAliasCache.ts
RoomInvite.tsx Add progress bar to Community to Space migration tool 2021-09-30 13:43:59 +01:00
RoomNotifs.ts Convert RoomNotifs to TS 2021-09-27 18:39:57 +02:00
Rooms.ts Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/c4 2021-07-13 15:46:48 +01:00
ScalarAuthClient.ts Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
ScalarMessaging.ts Make function async 2021-10-06 17:00:54 +01:00
SdkConfig.ts
Searching.ts Fix Searching's mixing of types 2021-07-10 16:00:04 +01:00
SecurityManager.ts Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
SendHistoryManager.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
sendTimePerformanceMetrics.ts Appease the linter 2021-09-08 11:35:25 -06:00
sentry.ts Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
shouldHideEvent.ts Add ability to properly edit messages in Threads. (#6877) 2021-10-01 15:35:54 +02:00
Skinner.ts Convert Skinner to TS 2021-09-27 14:41:08 +02:00
SlashCommands.tsx Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
Terms.ts Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
TextForEvent.tsx Merge branch 'develop' into export-conversations 2021-09-22 18:07:01 +05:30
theme.ts Fix setTheme types (#6894) 2021-10-01 16:40:04 +02:00
Unread.ts Fix instances of event.sender being read for just the userId - this field may not be set in time 2021-07-15 17:43:24 +01:00
UserActivity.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
UserAddress.ts Improve more typing 2021-07-20 12:30:41 +02:00
verification.ts Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
VoipUserMapper.ts Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
WhoIsTyping.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00