mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Add flags.first_message
filter variable (#3292)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
15f7e65e0c
commit
e033f8e43e
|
@ -21,6 +21,7 @@
|
|||
- Minor: Added `flags.reward_message` filter variable (#3231)
|
||||
- Minor: Added highlights for first messages (#3267)
|
||||
- Minor: Ignore out of bounds check for tiling wms (#3270)
|
||||
- Minor: Added `flags.first_message` filter variable (#3292)
|
||||
- Minor: Removed duplicate setting for toggling `Channel Point Redeemed Message` highlights (#3296)
|
||||
- Bugfix: Fixed colored usernames sometimes not working. (#3170)
|
||||
- Bugfix: Restored ability to send duplicate `/me` messages. (#3166)
|
||||
|
|
|
@ -29,6 +29,7 @@ ContextMap buildContextMap(const MessagePtr &m, chatterino::Channel *channel)
|
|||
* flags.sub_message
|
||||
* flags.system_message
|
||||
* flags.reward_message
|
||||
* flags.first_message
|
||||
* flags.whisper
|
||||
*
|
||||
* message.content
|
||||
|
@ -80,6 +81,7 @@ ContextMap buildContextMap(const MessagePtr &m, chatterino::Channel *channel)
|
|||
{"flags.system_message", m->flags.has(MessageFlag::System)},
|
||||
{"flags.reward_message",
|
||||
m->flags.has(MessageFlag::RedeemedChannelPointReward)},
|
||||
{"flags.first_message", m->flags.has(MessageFlag::FirstMessage)},
|
||||
{"flags.whisper", m->flags.has(MessageFlag::Whisper)},
|
||||
|
||||
{"message.content", m->messageText},
|
||||
|
|
|
@ -23,6 +23,7 @@ static const QMap<QString, QString> validIdentifiersMap = {
|
|||
{"flags.sub_message", "sub/resub message?"},
|
||||
{"flags.system_message", "system message?"},
|
||||
{"flags.reward_message", "channel point reward message?"},
|
||||
{"flags.first_message", "first message?"},
|
||||
{"flags.whisper", "whisper message?"},
|
||||
{"message.content", "message text"},
|
||||
{"message.length", "message length"}};
|
||||
|
|
Loading…
Reference in a new issue