aboutsummaryrefslogtreecommitdiff
path: root/jobs/sendeventjob.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-19 08:12:50 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-19 08:14:56 +0900
commitecc364d4ad752b34e41b717e3deff4d17a840378 (patch)
treeca1077fb3a751ad01f6638ee5733ddd4583d005f /jobs/sendeventjob.cpp
parent8800690c691dc9534fdb0f2d902862f816704d50 (diff)
parentf2f85ba093df5dcd991fd206af4d79d57f4c7fc8 (diff)
downloadlibquotient-ecc364d4ad752b34e41b717e3deff4d17a840378.tar.gz
libquotient-ecc364d4ad752b34e41b717e3deff4d17a840378.zip
Merge branch 'master' into kitsune-gtad
Diffstat (limited to 'jobs/sendeventjob.cpp')
-rw-r--r--jobs/sendeventjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/sendeventjob.cpp b/jobs/sendeventjob.cpp
index 7e33e089..f5190d4b 100644
--- a/jobs/sendeventjob.cpp
+++ b/jobs/sendeventjob.cpp
@@ -24,7 +24,7 @@ using namespace QMatrixClient;
SendEventJob::SendEventJob(const QString& roomId, const QString& type,
const QString& plainText)
- : SendEventJob(roomId, new RoomMessageEvent(plainText, type))
+ : SendEventJob(roomId, RoomMessageEvent(plainText, type))
{ }
void SendEventJob::beforeStart(const ConnectionData* connData)