mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-02-10 11:29:37 +00:00
Added settings for disabling chat in a channel
This commit is contained in:
@@ -137,7 +137,7 @@ var Chat = {
|
||||
},
|
||||
|
||||
channelchat: function(data, time_sent, disable_blink) {
|
||||
if(data.msg.substring(0,1) == ":" && !chat_active && !disable_blink) {
|
||||
if(data.msg.substring(0,1) == ":" && !chat_active && !disable_blink && data.from.toLowerCase() != "system") {
|
||||
document.querySelector("#favicon").setAttribute("href", "/assets/images/highlogo.png");
|
||||
unseen = true;
|
||||
chat_unseen = true;
|
||||
|
||||
Reference in New Issue
Block a user