feat: add a quick reply workflow using the Ctrl+Up arrow key

neochat now supports a quick reply shortcut, which helps to reply to
the last event in a room.
This commit is contained in:
Srevin Saju
2021-04-04 21:50:30 +03:00
committed by Carl Schwan
parent e4ab2e565f
commit 78f7f815ca
7 changed files with 67 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ public:
Q_INVOKABLE [[nodiscard]] int eventIDToIndex(const QString &eventID) const;
Q_INVOKABLE [[nodiscard]] QVariant getLastLocalUserMessageEventId();
Q_INVOKABLE [[nodiscard]] QVariant getLatestMessageFromIndex(const int baseline);
private Q_SLOTS:
int refreshEvent(const QString &eventId);