feat(filters): filter by author user ID (#5862)
This commit is contained in:
@@ -100,6 +100,7 @@ QJsonObject Message::toJson() const
|
||||
{"loginName"_L1, this->loginName},
|
||||
{"displayName"_L1, this->displayName},
|
||||
{"localizedName"_L1, this->localizedName},
|
||||
{"userID"_L1, this->userID},
|
||||
{"timeoutUser"_L1, this->timeoutUser},
|
||||
{"channelName"_L1, this->channelName},
|
||||
{"usernameColor"_L1, this->usernameColor.name(QColor::HexArgb)},
|
||||
|
||||
@@ -47,6 +47,7 @@ struct Message {
|
||||
QString loginName;
|
||||
QString displayName;
|
||||
QString localizedName;
|
||||
QString userID;
|
||||
QString timeoutUser;
|
||||
QString channelName;
|
||||
QColor usernameColor;
|
||||
|
||||
@@ -2102,6 +2102,7 @@ std::pair<MessagePtrMut, HighlightAlert> MessageBuilder::makeIrcMessage(
|
||||
|
||||
MessageBuilder builder;
|
||||
builder.parseUsernameColor(tags, userID);
|
||||
builder->userID = userID;
|
||||
|
||||
if (args.isAction)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user