1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-17 02:16:54 +00:00
* 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:
SirStendec 2019-10-11 17:41:07 -04:00
parent b53e0e6427
commit 3b7e99e5a3
10 changed files with 198 additions and 14 deletions

View file

@ -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;