summary refs log tree commit diff
path: root/src/timeline/TimelineModel.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-07-01 10:24:12 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-07-01 10:24:12 +0200
commit678806749d013b151afa2ac328cf7efb569ee1fc (patch)
tree55f6cd4d6d02049040a2369b815ca93100c667de /src/timeline/TimelineModel.h
parentFix crash on empty user cache stored (diff)
downloadnheko-678806749d013b151afa2ac328cf7efb569ee1fc.tar.xz
Add a /command to redact all visible messages sent by a user
Diffstat (limited to 'src/timeline/TimelineModel.h')
-rw-r--r--src/timeline/TimelineModel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timeline/TimelineModel.h b/src/timeline/TimelineModel.h

index 3b954394..dcafae80 100644 --- a/src/timeline/TimelineModel.h +++ b/src/timeline/TimelineModel.h
@@ -276,6 +276,7 @@ public: Q_INVOKABLE void pin(const QString &id); Q_INVOKABLE void showReadReceipts(QString id); Q_INVOKABLE void redactEvent(const QString &id, const QString &reason = ""); + Q_INVOKABLE void redactAllFromUser(const QString &userid, const QString &reason = ""); Q_INVOKABLE int idToIndex(const QString &id) const; Q_INVOKABLE QString indexToId(int index) const; Q_INVOKABLE void openMedia(const QString &eventId);