aboutsummaryrefslogtreecommitdiff
path: root/lib/eventitem.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-05-29 12:46:11 +0200
committerGitHub <noreply@github.com>2022-05-29 12:46:11 +0200
commit346c36768e145435a54ce0ba6138af916410cbea (patch)
treefb78230a898754b2df982b890a4129839937f110 /lib/eventitem.h
parent729ba7da174eacc88bf9bd4e2e80eeab3fc92716 (diff)
parent0f8335a32debc4c61d9fc9875c79c0ba6ba05357 (diff)
downloadlibquotient-346c36768e145435a54ce0ba6138af916410cbea.tar.gz
libquotient-346c36768e145435a54ce0ba6138af916410cbea.zip
Merge pull request #556 from quotient-im/kitsune/fixes
Cleanup and refactoring
Diffstat (limited to 'lib/eventitem.h')
-rw-r--r--lib/eventitem.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/eventitem.h b/lib/eventitem.h
index d8313736..5e001d88 100644
--- a/lib/eventitem.h
+++ b/lib/eventitem.h
@@ -3,14 +3,14 @@
#pragma once
-#include "events/stateevent.h"
#include "quotient_common.h"
+#include "events/filesourceinfo.h"
+#include "events/stateevent.h"
+
#include <any>
#include <utility>
-#include "events/encryptedfile.h"
-
namespace Quotient {
namespace EventStatus {
@@ -115,8 +115,7 @@ public:
QString annotation() const { return _annotation; }
void setDeparted() { setStatus(EventStatus::Departed); }
- void setFileUploaded(const QUrl& remoteUrl);
- void setEncryptedFile(const EncryptedFile& encryptedFile);
+ void setFileUploaded(const FileSourceInfo &uploadedFileData);
void setReachedServer(const QString& eventId)
{
setStatus(EventStatus::ReachedServer);