mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-17 02:16:54 +00:00
4.14.2
* Added: Additional settings for controlling the behavior of Twitch's native Chat Filters. * Added: Upload strings directly from the Translation Tester UI. (This is for me only, but I like it.) * Changed: Allow resizing text entry boxes in the Translation Tester UI. * Fixed: Emoji categories were not being localized.
This commit is contained in:
parent
b53e0e6427
commit
3b7e99e5a3
10 changed files with 198 additions and 14 deletions
|
@ -1790,8 +1790,14 @@ export default class ChatHook extends Module {
|
|||
if ( user )
|
||||
message.emotes = user.emotes;
|
||||
|
||||
if ( flags && this.getFilterFlagOptions )
|
||||
if ( flags && this.getFilterFlagOptions ) {
|
||||
const clear_mod = this.props.isCurrentUserModerator && t.chat.context.get('chat.automod.run-as-mod');
|
||||
if ( clear_mod )
|
||||
this.props.isCurrentUserModerator = false;
|
||||
message.flags = this.getFilterFlagOptions(flags);
|
||||
if ( clear_mod )
|
||||
this.props.isCurrentUserModerator = true;
|
||||
}
|
||||
|
||||
if ( typeof original.action === 'string' )
|
||||
message.message = original.action;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue