aboutsummaryrefslogtreecommitdiff
path: root/jobs/roommessagesjob.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/roommessagesjob.h')
-rw-r--r--jobs/roommessagesjob.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/jobs/roommessagesjob.h b/jobs/roommessagesjob.h
index 52a72f70..9bedcad9 100644
--- a/jobs/roommessagesjob.h
+++ b/jobs/roommessagesjob.h
@@ -21,10 +21,11 @@
#include "basejob.h"
+#include "../events/event.h"
+
namespace QMatrixClient
{
class Room;
- class Event;
enum class FetchDirectory { Backwards, Forward };
@@ -34,7 +35,7 @@ namespace QMatrixClient
RoomMessagesJob(ConnectionData* data, Room* room, QString from, FetchDirectory dir = FetchDirectory::Backwards, int limit=10);
virtual ~RoomMessagesJob();
- QList<Event*> events();
+ Events events();
QString end();
protected: