diff --git a/src/neochatroom.cpp b/src/neochatroom.cpp index b519aacd1..4c85f906c 100644 --- a/src/neochatroom.cpp +++ b/src/neochatroom.cpp @@ -83,7 +83,11 @@ void NeoChatRoom::uploadFile(const QUrl &url, const QString &body) QString txnId = postFile(body.isEmpty() ? url.fileName() : body, url, false); setHasFileUploading(true); +#ifdef QUOTIENT_07 connect(this, &Room::fileTransferCompleted, [this, txnId](const QString &id, FileSourceInfo) { +#else + connect(this, &Room::fileTransferCompleted, [this, txnId](const QString &id, const QUrl & /*localFile*/, const QUrl & /*mxcUrl*/) { +#endif if (id == txnId) { setFileUploadingProgress(0); setHasFileUploading(false); diff --git a/src/stickerevent.cpp b/src/stickerevent.cpp index 0ee65b7c6..bcc9ff2b3 100644 --- a/src/stickerevent.cpp +++ b/src/stickerevent.cpp @@ -23,5 +23,9 @@ const EventContent::ImageContent &StickerEvent::image() const QUrl StickerEvent::url() const { +#ifdef QUOTIENT_07 return m_imageContent.url(); +#else + return m_imageContent.url; +#endif }