Rename MessageComposerInput.insertTrailingComma
to MessageComposerInput.insertTrailingColon
(#7981)
This commit is contained in:
parent
3099a75a5d
commit
675b4271e9
4 changed files with 4 additions and 4 deletions
|
@ -429,7 +429,7 @@ export const SETTINGS: {[setting: string]: ISetting} = {
|
|||
default: true,
|
||||
controller: new UIFeatureController(UIFeature.Widgets, false),
|
||||
},
|
||||
"MessageComposerInput.insertTrailingComma": {
|
||||
"MessageComposerInput.insertTrailingColon": {
|
||||
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
||||
displayName: _td('Insert a trailing colon after user mentions at the start of a message'),
|
||||
default: true,
|
||||
|
|
|
@ -121,7 +121,7 @@ export default class AccountSettingsHandler extends MatrixClientBackedSettingsHa
|
|||
return content[settingName];
|
||||
}
|
||||
|
||||
if (settingName === "MessageComposerInput.insertTrailingComma") {
|
||||
if (settingName === "MessageComposerInput.insertTrailingColon") {
|
||||
const content = this.getSettings() || {};
|
||||
const value = content[settingName];
|
||||
if (value === null || value === undefined) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue