--- a/QTfrontend/net/proto.h Sun Oct 16 13:14:16 2022 +0300
+++ b/QTfrontend/net/proto.h Sun Oct 16 20:15:57 2022 +0300
@@ -35,6 +35,8 @@
static QByteArray & addStringListToBuffer(QByteArray & buf, const QStringList & strList);
static QString formatChatMsg(const QString & nick, const QString & msg);
static QString formatChatMsgForFrontend(const QString & msg);
+ static QString formatDirectMsg(const QString & myNick, const QString & nick,
+ const QString & msg, bool isEcho);
/**
* @brief Determines if a chat string represents a chat action and returns the action.
* @param string chat string