aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-09-12 06:16:25 +0200
committerGitHub <noreply@github.com>2021-09-12 06:16:25 +0200
commit41944ac3ee76029201c2108a063ae2b6354f6a22 (patch)
tree661559b8a51868ae54fbb58104ad49ca8900b2de /lib/room.h
parent9da6b25a26403952e5a76b043076ba302c8d3c30 (diff)
parentbcaab611840a0a2ad284e6f1e7c2f0b4de10222d (diff)
downloadlibquotient-41944ac3ee76029201c2108a063ae2b6354f6a22.tar.gz
libquotient-41944ac3ee76029201c2108a063ae2b6354f6a22.zip
Merge pull request #499 from TobiasFella/mxcnam
Implement the mxc protocol in the NetworkAccessManager
Diffstat (limited to 'lib/room.h')
-rw-r--r--lib/room.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/room.h b/lib/room.h
index 4e55dbaf..7290f9a9 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -458,6 +458,9 @@ public:
/// Get the list of users this room is a direct chat with
QList<User*> directChatUsers() const;
+ Q_INVOKABLE QUrl makeMediaUrl(const QString& eventId,
+ const QUrl &mxcUrl) const;
+
Q_INVOKABLE QUrl urlToThumbnail(const QString& eventId) const;
Q_INVOKABLE QUrl urlToDownload(const QString& eventId) const;