1 files changed, 10 insertions, 0 deletions
diff --git a/src/timeline/TimelineItem.h b/src/timeline/TimelineItem.h
index 26bcfbae..fb961b6c 100644
--- a/src/timeline/TimelineItem.h
+++ b/src/timeline/TimelineItem.h
@@ -88,6 +88,14 @@ private:
static constexpr int MaxWidth = 24;
};
+class EventProxy : public QObject
+{
+ Q_OBJECT
+
+signals:
+ void eventRetrieved(const nlohmann::json &);
+};
+
class TextLabel : public QTextBrowser
{
Q_OBJECT
@@ -220,6 +228,7 @@ public:
bool isReceived() { return isReceived_; };
void setRoomId(QString room_id) { room_id_ = room_id; }
void sendReadReceipt() const;
+ void openRawMessageViewer() const;
//! Add a user avatar for this event.
void addAvatar();
@@ -273,6 +282,7 @@ private:
QAction *showReadReceipts_;
QAction *markAsRead_;
QAction *redactMsg_;
+ QAction *viewRawMessage_;
QAction *replyMsg_;
QHBoxLayout *topLayout_ = nullptr;
|