aboutsummaryrefslogtreecommitdiff
path: root/jobs/syncjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/syncjob.cpp')
-rw-r--r--jobs/syncjob.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/jobs/syncjob.cpp b/jobs/syncjob.cpp
index a9865b55..2b2705b1 100644
--- a/jobs/syncjob.cpp
+++ b/jobs/syncjob.cpp
@@ -26,7 +26,6 @@
#include "../room.h"
#include "../connectiondata.h"
-#include "../events/event.h"
using namespace QMatrixClient;
@@ -139,7 +138,7 @@ BaseJob::Status SyncJob::parseJson(const QJsonDocument& data)
void SyncRoomData::EventList::fromJson(const QJsonObject& roomContents)
{
- auto l = eventListFromJson(roomContents[jsonKey].toObject()["events"].toArray());
+ auto l = eventsFromJson(roomContents[jsonKey].toObject()["events"].toArray());
swap(l);
}