mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-06 12:23:08 +02:00
Also check sender name.
Signed-off-by: Armored Dragon <publicmail@armoreddragon.com>
This commit is contained in:
parent
112bd816ec
commit
e56ea656f6
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ var notificationCore = {
|
|||
},
|
||||
add: function (text, sender, colour) {
|
||||
sender = sender ? sender : "NoName";
|
||||
sender = sender.replace(ARROW_REGEX, "<");
|
||||
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};
|
||||
|
|
Loading…
Reference in a new issue