Ignore RPL_TOPICWHOTIME

We don't need this piece of information yet, and we don't want to
clutter the server buffer with channel messages.
This commit is contained in:
Simon Ser 2020-09-03 11:36:08 +02:00
parent 516de5b3ea
commit 0b03f9d767
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 4 additions and 0 deletions

View file

@ -404,6 +404,9 @@ export default class App extends Component {
this.setBufferState(channel, { topic });
break;
case irc.RPL_TOPICWHOTIME:
// Ignore
break;
case irc.RPL_NAMREPLY:
var channel = msg.params[2];
var membersList = msg.params[3].split(" ");

View file

@ -6,6 +6,7 @@ export const RPL_MYINFO = "004";
export const RPL_ENDOFWHO = "315";
export const RPL_NOTOPIC = "331";
export const RPL_TOPIC = "332";
export const RPL_TOPICWHOTIME = "333";
export const RPL_WHOREPLY = "352";
export const RPL_NAMREPLY = "353";
export const RPL_ENDOFNAMES = "366";