aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-09-05 07:49:16 +0200
committerGitHub <noreply@github.com>2022-09-05 07:49:16 +0200
commit1e263a32fcbc44985e474a626393494a81f15e37 (patch)
tree8811e0a995dcd593cb9f233e02ece9402e76eb1b /lib/csapi
parent8cb629f406f5b8b1ff7ce787dd3967d5684e07c3 (diff)
parentbd2736bc9f8b6023ecbc21d0d831856703b853db (diff)
downloadlibquotient-1e263a32fcbc44985e474a626393494a81f15e37.tar.gz
libquotient-1e263a32fcbc44985e474a626393494a81f15e37.zip
Merge pull request #565 from quotient-im/kitsune/streamline-event-types-2
Streamline event types, part 2
Diffstat (limited to 'lib/csapi')
-rw-r--r--lib/csapi/event_context.h3
-rw-r--r--lib/csapi/message_pagination.h2
-rw-r--r--lib/csapi/notifications.h2
-rw-r--r--lib/csapi/peeking_events.h2
-rw-r--r--lib/csapi/relations.h2
-rw-r--r--lib/csapi/rooms.h3
-rw-r--r--lib/csapi/search.h3
-rw-r--r--lib/csapi/space_hierarchy.h2
8 files changed, 11 insertions, 8 deletions
diff --git a/lib/csapi/event_context.h b/lib/csapi/event_context.h
index 662b976b..1614c7ed 100644
--- a/lib/csapi/event_context.h
+++ b/lib/csapi/event_context.h
@@ -4,7 +4,8 @@
#pragma once
-#include "events/eventloader.h"
+#include "events/roomevent.h"
+#include "events/stateevent.h"
#include "jobs/basejob.h"
namespace Quotient {
diff --git a/lib/csapi/message_pagination.h b/lib/csapi/message_pagination.h
index 9831ae2d..b4f3a38a 100644
--- a/lib/csapi/message_pagination.h
+++ b/lib/csapi/message_pagination.h
@@ -4,7 +4,7 @@
#pragma once
-#include "events/eventloader.h"
+#include "events/roomevent.h"
#include "jobs/basejob.h"
namespace Quotient {
diff --git a/lib/csapi/notifications.h b/lib/csapi/notifications.h
index 48167877..ff8aa47f 100644
--- a/lib/csapi/notifications.h
+++ b/lib/csapi/notifications.h
@@ -4,7 +4,7 @@
#pragma once
-#include "events/eventloader.h"
+#include "events/event.h"
#include "jobs/basejob.h"
namespace Quotient {
diff --git a/lib/csapi/peeking_events.h b/lib/csapi/peeking_events.h
index ff688c49..a67d2e4a 100644
--- a/lib/csapi/peeking_events.h
+++ b/lib/csapi/peeking_events.h
@@ -4,7 +4,7 @@
#pragma once
-#include "events/eventloader.h"
+#include "events/roomevent.h"
#include "jobs/basejob.h"
namespace Quotient {
diff --git a/lib/csapi/relations.h b/lib/csapi/relations.h
index 985a43b5..794ae445 100644
--- a/lib/csapi/relations.h
+++ b/lib/csapi/relations.h
@@ -4,7 +4,7 @@
#pragma once
-#include "events/eventloader.h"
+#include "events/roomevent.h"
#include "jobs/basejob.h"
namespace Quotient {
diff --git a/lib/csapi/rooms.h b/lib/csapi/rooms.h
index 247fb13f..7823a1b0 100644
--- a/lib/csapi/rooms.h
+++ b/lib/csapi/rooms.h
@@ -4,7 +4,8 @@
#pragma once
-#include "events/eventloader.h"
+#include "events/roomevent.h"
+#include "events/stateevent.h"
#include "jobs/basejob.h"
namespace Quotient {
diff --git a/lib/csapi/search.h b/lib/csapi/search.h
index 8683413d..30095f32 100644
--- a/lib/csapi/search.h
+++ b/lib/csapi/search.h
@@ -6,7 +6,8 @@
#include "csapi/definitions/room_event_filter.h"
-#include "events/eventloader.h"
+#include "events/roomevent.h"
+#include "events/stateevent.h"
#include "jobs/basejob.h"
namespace Quotient {
diff --git a/lib/csapi/space_hierarchy.h b/lib/csapi/space_hierarchy.h
index 7a421be8..e5da6df2 100644
--- a/lib/csapi/space_hierarchy.h
+++ b/lib/csapi/space_hierarchy.h
@@ -4,7 +4,7 @@
#pragma once
-#include "events/eventloader.h"
+#include "events/stateevent.h"
#include "jobs/basejob.h"
namespace Quotient {