Also check sender name.

Signed-off-by: Armored Dragon <publicmail@armoreddragon.com>
This commit is contained in:
Armored Dragon 2024-07-10 10:24:20 -05:00
parent 112bd816ec
commit e56ea656f6
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B

View file

@ -64,6 +64,7 @@ var notificationCore = {
},
add: function (text, sender, colour) {
sender = sender ? sender : "NoName";
sender = sender.replace(ARROW_REGEX, "&lt;");
colour = colour ? colour : {};
colour.text = colour.text ? colour.text : {red: 255, green: 255, blue: 255};
colour.bg = colour.bg ? colour.bg : {red: 10, green: 10, blue: 10};