summary refs log tree commit diff
path: root/src/timeline/TimelineModel.h
diff options
context:
space:
mode:
authorbrausepulver <34420739+brausepulver@users.noreply.github.com>2022-06-24 01:44:50 +0200
committerGitHub <noreply@github.com>2022-06-23 23:44:50 +0000
commit09c646d3fa33fcb7cd7236a0ae57521ed4f16c91 (patch)
treebe4958486f467383370dca913009b2658e9dd2dd /src/timeline/TimelineModel.h
parentMerge pull request #1106 from jevolk/master (diff)
downloadnheko-09c646d3fa33fcb7cd7236a0ae57521ed4f16c91.tar.xz
Add copy link to room context menu (#1101)
Diffstat (limited to 'src/timeline/TimelineModel.h')
-rw-r--r--src/timeline/TimelineModel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/timeline/TimelineModel.h b/src/timeline/TimelineModel.h

index f569016c..3b954394 100644 --- a/src/timeline/TimelineModel.h +++ b/src/timeline/TimelineModel.h
@@ -249,6 +249,9 @@ public: bool canFetchMore(const QModelIndex &) const override; void fetchMore(const QModelIndex &) override; + static QString getBareRoomLink(const QString &); + static QString getRoomVias(const QString &); + Q_INVOKABLE QString displayName(const QString &id) const; Q_INVOKABLE QString avatarUrl(const QString &id) const; Q_INVOKABLE QString formatDateSeparator(QDate date) const;