Add echo-message support for IRC (#4157)

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
Mm2PL
2022-11-18 17:08:15 +01:00
committed by GitHub
parent 49eb5c90cf
commit 8627d6c919
4 changed files with 24 additions and 1 deletions
+4 -1
View File
@@ -38,7 +38,10 @@ void IrcChannel::sendMessage(const QString &message)
if (this->server() != nullptr)
{
this->server()->sendMessage(this->getName(), message);
if (this->server()->hasEcho())
{
return;
}
MessageBuilder builder;
builder