mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
IRCClient: Colorize some channel messages (joins, parts, topics)
This commit is contained in:
parent
794c81626e
commit
55aa819077
Notes:
sideshowbarker
2024-07-19 15:00:45 +09:00
Author: https://github.com/awesomekling
Commit: 55aa819077
11 changed files with 60 additions and 23 deletions
|
@ -27,11 +27,10 @@ void IRCQuery::dump() const
|
|||
log().dump();
|
||||
}
|
||||
|
||||
void IRCQuery::add_message(char prefix, const String& name, const String& text)
|
||||
void IRCQuery::add_message(char prefix, const String& name, const String& text, Color color)
|
||||
{
|
||||
log().add_message(prefix, name, text, color);
|
||||
window().did_add_message();
|
||||
log().add_message(prefix, name, text);
|
||||
dump();
|
||||
}
|
||||
|
||||
void IRCQuery::say(const String& text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue