aboutsummaryrefslogtreecommitdiff
path: root/events/roommessageevent.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2016-08-24 17:09:50 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2016-08-24 17:13:57 +0900
commit51dfcc732301b5fe0d8b8b5966b751ff35295ef4 (patch)
tree30f4856a0e05f7cda192fe65e879e22a93753481 /events/roommessageevent.cpp
parent581a6976eeb7c35930cb19e89eae0fd3bf11a785 (diff)
downloadlibquotient-51dfcc732301b5fe0d8b8b5966b751ff35295ef4.tar.gz
libquotient-51dfcc732301b5fe0d8b8b5966b751ff35295ef4.zip
Drop unused (by code and by spec) hsob_ts value
Diffstat (limited to 'events/roommessageevent.cpp')
-rw-r--r--events/roommessageevent.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/events/roommessageevent.cpp b/events/roommessageevent.cpp
index a111ef12..f02922b5 100644
--- a/events/roommessageevent.cpp
+++ b/events/roommessageevent.cpp
@@ -19,7 +19,6 @@
#include "roommessageevent.h"
#include <QtCore/QJsonObject>
-#include <QtCore/QDateTime>
#include <QtCore/QDebug>
using namespace QMatrixClient;
@@ -32,7 +31,6 @@ class RoomMessageEvent::Private
QString userId;
MessageEventType msgtype;
QString plainBody;
- QDateTime hsob_ts;
MessageEventContent::Base* content;
};
@@ -68,11 +66,6 @@ QString RoomMessageEvent::body() const
return plainBody();
}
-QDateTime RoomMessageEvent::hsob_ts() const
-{
- return d->hsob_ts;
-}
-
MessageEventContent::Base* RoomMessageEvent::content() const
{
return d->content;
@@ -189,10 +182,6 @@ RoomMessageEvent* RoomMessageEvent::fromJson(const QJsonObject& obj)
} else {
qDebug() << "RoomMessageEvent: body not found";
}
-// e->d->hsob_ts = QDateTime::fromMSecsSinceEpoch( content.value("hsoc_ts").toInt() );
-// } else {
-// qDebug() << "RoomMessageEvent: hsoc_ts not found";
-// }
}
return e;
}