fixed? something?
This commit is contained in:
parent
2d22402cb0
commit
bcc0b86ed9
@ -180,7 +180,7 @@ body {
|
|||||||
bottom: 46px;
|
bottom: 46px;
|
||||||
}
|
}
|
||||||
.ircclient #chat .ircwrapper .chatarea .smsc-nicklistbtn {
|
.ircclient #chat .ircwrapper .chatarea .smsc-nicklistbtn {
|
||||||
background-image: url("image/users.svg");
|
background-image: url("../image/users.svg");
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
width: 46px;
|
width: 46px;
|
||||||
@ -313,7 +313,7 @@ body {
|
|||||||
box-shadow: inset 4px 4px 8px #d8d8d8;
|
box-shadow: inset 4px 4px 8px #d8d8d8;
|
||||||
}
|
}
|
||||||
.ircclient #chat .ircwrapper .input .sendbutton {
|
.ircclient #chat .ircwrapper .input .sendbutton {
|
||||||
background-image: url("image/send.svg");
|
background-image: url("../image/send.svg");
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
width: 32px;
|
width: 32px;
|
||||||
|
@ -156,6 +156,8 @@ irc.whoisMessage = function(whoisData, buffer) {
|
|||||||
break;
|
break;
|
||||||
case "loggedIn":
|
case "loggedIn":
|
||||||
case "registered":
|
case "registered":
|
||||||
|
case "connectingFrom":
|
||||||
|
case "usingModes":
|
||||||
case "title":
|
case "title":
|
||||||
messages.push(whoisData[key]);
|
messages.push(whoisData[key]);
|
||||||
break;
|
break;
|
||||||
@ -602,9 +604,11 @@ class Buffer {
|
|||||||
appendMessage(meta) {
|
appendMessage(meta) {
|
||||||
let mesgConstr = composer.message[irc.chatType](meta.time, meta.sender, meta.message, meta.type);
|
let mesgConstr = composer.message[irc.chatType](meta.time, meta.sender, meta.message, meta.type);
|
||||||
|
|
||||||
|
if(irc.serverData[this.server]) {
|
||||||
if((meta.type == "privmsg" || meta.type == "notice" || meta.type == "action") &&
|
if((meta.type == "privmsg" || meta.type == "notice" || meta.type == "action") &&
|
||||||
meta.message.indexOf(irc.serverData[this.server].my_nick) != -1)
|
meta.message.indexOf(irc.serverData[this.server].my_nick) != -1)
|
||||||
addClass(mesgConstr, "mentioned");
|
addClass(mesgConstr, "mentioned");
|
||||||
|
}
|
||||||
|
|
||||||
clientdom.letterbox.appendChild(mesgConstr);
|
clientdom.letterbox.appendChild(mesgConstr);
|
||||||
|
|
||||||
@ -631,10 +635,12 @@ class Buffer {
|
|||||||
this.appendMessage(mesg);
|
this.appendMessage(mesg);
|
||||||
} else {
|
} else {
|
||||||
this.unreadCount += 1;
|
this.unreadCount += 1;
|
||||||
|
if(irc.serverData[this.server]) {
|
||||||
if((type == "privmsg" || type == "notice" || type == "action") &&
|
if((type == "privmsg" || type == "notice" || type == "action") &&
|
||||||
message.indexOf(irc.serverData[this.server].my_nick) != -1)
|
message.indexOf(irc.serverData[this.server].my_nick) != -1)
|
||||||
console.log("TODO: notify user of mentioned");
|
console.log("TODO: notify user of mentioned");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this.tab.setUnreadCount(this.unreadCount);
|
this.tab.setUnreadCount(this.unreadCount);
|
||||||
}
|
}
|
||||||
|
@ -161,7 +161,7 @@ body
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
bottom: 46px;
|
bottom: 46px;
|
||||||
.smsc-nicklistbtn
|
.smsc-nicklistbtn
|
||||||
background-image: url(image/users.svg);
|
background-image: url(../image/users.svg);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
width: 46px;
|
width: 46px;
|
||||||
@ -277,7 +277,7 @@ body
|
|||||||
border-left: 0
|
border-left: 0
|
||||||
box-shadow: inset 4px 4px 8px #d8d8d8
|
box-shadow: inset 4px 4px 8px #d8d8d8
|
||||||
.sendbutton
|
.sendbutton
|
||||||
background-image: url(image/send.svg);
|
background-image: url(../image/send.svg);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
width: 32px;
|
width: 32px;
|
||||||
|
@ -269,6 +269,18 @@ class IRCConnectionHandler {
|
|||||||
};
|
};
|
||||||
this.whoisManage(line.arguments[1], list);
|
this.whoisManage(line.arguments[1], list);
|
||||||
break;
|
break;
|
||||||
|
case "378":
|
||||||
|
list = {
|
||||||
|
connectingFrom: line.trailing,
|
||||||
|
};
|
||||||
|
this.whoisManage(line.arguments[1], list);
|
||||||
|
break;
|
||||||
|
case "379":
|
||||||
|
list = {
|
||||||
|
usingModes: line.trailing,
|
||||||
|
};
|
||||||
|
this.whoisManage(line.arguments[1], list);
|
||||||
|
break;
|
||||||
case "312":
|
case "312":
|
||||||
list = {
|
list = {
|
||||||
server: line.arguments[2],
|
server: line.arguments[2],
|
||||||
|
Reference in New Issue
Block a user