mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
fixes that timeout/ban messages didn't show (#728)
This commit is contained in:
parent
3868feb0fa
commit
86024ade24
|
@ -82,6 +82,10 @@ MessageBuilder::MessageBuilder(TimeoutMessageTag, const QString &username,
|
||||||
this->message().flags.set(MessageFlag::Timeout);
|
this->message().flags.set(MessageFlag::Timeout);
|
||||||
this->message().flags.set(MessageFlag::DoNotTriggerNotification);
|
this->message().flags.set(MessageFlag::DoNotTriggerNotification);
|
||||||
this->message().timeoutUser = username;
|
this->message().timeoutUser = username;
|
||||||
|
this->emplace<TimestampElement>();
|
||||||
|
this->emplace<TextElement>(text, MessageElementFlag::Text,
|
||||||
|
MessageColor::System);
|
||||||
|
this->message().searchText = text;
|
||||||
}
|
}
|
||||||
|
|
||||||
MessageBuilder::MessageBuilder(const BanAction &action, uint32_t count)
|
MessageBuilder::MessageBuilder(const BanAction &action, uint32_t count)
|
||||||
|
|
Loading…
Reference in a new issue