mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-10 16:10:55 +00:00
4.0.0-rc16.3
* Added: More settings under Chat > Behavior >> Deleted Messages to control the display of moderated messages. * Fixed: Deleted messages displaying for non-moderated users using the settings that would be applied were that user a moderator. * Changed: In-line Chat Actions that only display when you are a moderator now only display when you have moderation powers over that user. Moderators will no longer see those actions next to other moderators.
This commit is contained in:
parent
6941a85ff6
commit
b9cca1053d
5 changed files with 189 additions and 46 deletions
|
@ -196,6 +196,36 @@ export default class Chat extends Module {
|
|||
}
|
||||
});
|
||||
|
||||
this.settings.add('chat.filtering.display-deleted', {
|
||||
default: false,
|
||||
ui: {
|
||||
path: 'Chat > Behavior >> Deleted Messages',
|
||||
title: 'Deleted Message Rendering',
|
||||
description: 'This, when set, overrides the mode selected in Twitch Chat settings. We do this to allow non-moderators access to the setting.',
|
||||
component: 'setting-select-box',
|
||||
data: [
|
||||
{value: false, title: 'Do Not Override'},
|
||||
{value: 'BRIEF', title: 'Brief'},
|
||||
{value: 'DETAILED', title: 'Detailed'},
|
||||
{value: 'LEGACY', title: 'Legacy'}
|
||||
]
|
||||
}
|
||||
});
|
||||
|
||||
this.settings.add('chat.filtering.display-mod-action', {
|
||||
default: 1,
|
||||
ui: {
|
||||
path: 'Chat > Behavior >> Deleted Messages',
|
||||
title: 'Display Deletion Reason',
|
||||
component: 'setting-select-box',
|
||||
data: [
|
||||
{value: 0, title: 'Never'},
|
||||
{value: 1, title: 'In Detailed Mode'},
|
||||
{value: 2, title: 'Always'}
|
||||
]
|
||||
}
|
||||
});
|
||||
|
||||
this.settings.add('chat.filtering.process-own', {
|
||||
default: false,
|
||||
ui: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue