now it's possible to fix your messages

This commit is contained in:
Blue 2022-03-28 23:25:33 +03:00
parent bf4a27f35d
commit 788c6ca556
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
13 changed files with 204 additions and 85 deletions

View file

@ -83,6 +83,7 @@ public:
signals:
void sendMessage(const Shared::Message& message);
void replaceMessage(const QString& originalId, const Shared::Message& message);
void resendMessage(const QString& id);
void requestArchive(const QString& before);
void shown();
@ -104,12 +105,13 @@ protected:
virtual void onMessage(const Shared::Message& msg);
protected slots:
void onEnterPressed();
void initiateMessageSending();
void initiateMessageSending(const Shared::Message& msg);
void onImagePasted();
void onAttach();
void onFileSelected();
void onBadgeClose();
void onClearButton();
void clear();
void onTextEditDocSizeChanged(const QSizeF& size);
void onAccountChanged(Models::Item* item, int row, int col);
void onFeedMessage(const Shared::Message& msg);
@ -149,6 +151,7 @@ protected:
ShadowOverlay shadow;
QMenu* contextMenu;
CurrentAction currentAction;
QString currentMessageId;
private:
static bool painterInitialized;