mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-12 09:00:54 +00:00
Allow filtering extensions' chat messages based on extension name (#686)
Changed: Chat message filters based on user names now also apply to extension names.
This commit is contained in:
parent
c26f2ea09b
commit
bbaf96584c
1 changed files with 1 additions and 1 deletions
|
@ -1127,7 +1127,7 @@ export default class Chat extends Module {
|
||||||
user.type = user.type || user.userType || null;
|
user.type = user.type || user.userType || null;
|
||||||
user.id = user.id || user.userID || null;
|
user.id = user.id || user.userID || null;
|
||||||
user.login = user.login || user.userLogin || null;
|
user.login = user.login || user.userLogin || null;
|
||||||
user.displayName = user.displayName || user.userDisplayName || user.login;
|
user.displayName = user.displayName || user.userDisplayName || user.login || ext.displayName;
|
||||||
user.isIntl = user.login && user.displayName && user.displayName.trim().toLowerCase() !== user.login;
|
user.isIntl = user.login && user.displayName && user.displayName.trim().toLowerCase() !== user.login;
|
||||||
|
|
||||||
// Standardize Message Content
|
// Standardize Message Content
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue