Rename MessageComposerInput.insertTrailingComma to MessageComposerInput.insertTrailingColon (#7981)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user