Add scrollToBottomOnMessageSent setting

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-02-26 18:34:54 +01:00
parent 64974eb3ee
commit a0200de7b4
No known key found for this signature in database
GPG key ID: 9760693FDD98A790

View file

@ -317,6 +317,11 @@ export const SETTINGS: {[setting: string]: ISetting} = {
displayName: _td('Show line numbers in code blocks'), displayName: _td('Show line numbers in code blocks'),
default: true, default: true,
}, },
"scrollToBottomOnMessageSent": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td('Jump to the bottom of the timeline when you send a message'),
default: true,
},
"Pill.shouldShowPillAvatar": { "Pill.shouldShowPillAvatar": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS, supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td('Show avatars in user and room mentions'), displayName: _td('Show avatars in user and room mentions'),