Improve reply popup after thread update (#4923)
Co-authored-by: nerix <nero.9@hotmail.de> Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -53,6 +53,8 @@ enum class MessageFlag : int64_t {
|
||||
};
|
||||
using MessageFlags = FlagsEnum<MessageFlag>;
|
||||
|
||||
struct Message;
|
||||
using MessagePtr = std::shared_ptr<const Message>;
|
||||
struct Message {
|
||||
Message();
|
||||
~Message();
|
||||
@@ -88,12 +90,11 @@ struct Message {
|
||||
// the reply thread will be cleaned up by the TwitchChannel.
|
||||
// The root of the thread does not have replyThread set.
|
||||
std::shared_ptr<MessageThread> replyThread;
|
||||
MessagePtr replyParent;
|
||||
uint32_t count = 1;
|
||||
std::vector<std::unique_ptr<MessageElement>> elements;
|
||||
|
||||
ScrollbarHighlight getScrollBarHighlight() const;
|
||||
};
|
||||
|
||||
using MessagePtr = std::shared_ptr<const Message>;
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user