mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Make mods, vips, joined/parted messages searchable (#3426)
This commit is contained in:
parent
1662ced2c7
commit
aa1c16d90d
|
@ -39,6 +39,7 @@
|
|||
- Minor: Add support for Emoji in IRC (#3354)
|
||||
- Minor: Moved `/live` logs to its own subdirectory. (Logs from before this change will still be available in `Channels -> live`). (#3393)
|
||||
- Minor: Sorted usernames in `Users joined/parted` messages alphabetically. (#3421)
|
||||
- Minor: Mod list, VIP list, and Users joined/parted messages are now searchable. (#3426)
|
||||
- Bugfix: Fix Split Input hotkeys not being available when input is hidden (#3362)
|
||||
- Bugfix: Fixed colored usernames sometimes not working. (#3170)
|
||||
- Bugfix: Restored ability to send duplicate `/me` messages. (#3166)
|
||||
|
|
|
@ -1464,6 +1464,11 @@ void TwitchMessageBuilder::listOfUsersSystemMessage(QString prefix,
|
|||
Channel *channel,
|
||||
MessageBuilder *builder)
|
||||
{
|
||||
QString text = prefix + users.join(", ");
|
||||
|
||||
builder->message().messageText = text;
|
||||
builder->message().searchText = text;
|
||||
|
||||
builder->emplace<TimestampElement>();
|
||||
builder->message().flags.set(MessageFlag::System);
|
||||
builder->message().flags.set(MessageFlag::DoNotTriggerNotification);
|
||||
|
|
Loading…
Reference in a new issue