summary refs log tree commit diff
path: root/src/timeline/TimelineModel.h
diff options
context:
space:
mode:
authorNepNep21 <43792621+NepNep21@users.noreply.github.com>2023-07-27 22:04:34 -0300
committerNepNep21 <43792621+NepNep21@users.noreply.github.com>2023-10-01 22:52:31 -0300
commitd1ba9fd878ce4fedcd9a8f21875e53d322653e7e (patch)
tree37757e311acf6f9b505103ed387d525cc01e5aab /src/timeline/TimelineModel.h
parentMerge pull request #1573 from Nheko-Reborn/fixqml (diff)
downloadnheko-d1ba9fd878ce4fedcd9a8f21875e53d322653e7e.tar.xz
Rebase
Diffstat (limited to 'src/timeline/TimelineModel.h')
-rw-r--r--src/timeline/TimelineModel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/timeline/TimelineModel.h b/src/timeline/TimelineModel.h

index fccc99eb..c8947891 100644 --- a/src/timeline/TimelineModel.h +++ b/src/timeline/TimelineModel.h
@@ -454,6 +454,7 @@ public slots: private slots: void addPendingMessage(mtx::events::collections::TimelineEvents event); void scrollTimerEvent(); + void handleIgnoredUser(const QString &id, const std::optional<QString> &err); signals: void dataAtIdChanged(QString id); @@ -503,6 +504,9 @@ signals: void fetchedMore(); + // The user may close the profile window before we receive a response, so handle it here + void ignoredUser(const QString &id, const std::optional<QString> &err); + private: template<typename T> void sendEncryptedMessage(mtx::events::RoomEvent<T> msg, mtx::events::EventType eventType);