feat: include more data when copying messages as JSON (#5600)
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
class QJsonObject;
|
||||
|
||||
namespace chatterino {
|
||||
class MessageElement;
|
||||
class MessageThread;
|
||||
@@ -62,6 +64,8 @@ struct Message {
|
||||
ScrollbarHighlight getScrollBarHighlight() const;
|
||||
|
||||
std::shared_ptr<ChannelPointReward> reward = nullptr;
|
||||
|
||||
QJsonObject toJson() const;
|
||||
};
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user