aboutsummaryrefslogtreecommitdiff
path: root/events/unknownevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'events/unknownevent.cpp')
-rw-r--r--events/unknownevent.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/events/unknownevent.cpp b/events/unknownevent.cpp
index 758d0ec8..90551409 100644
--- a/events/unknownevent.cpp
+++ b/events/unknownevent.cpp
@@ -19,6 +19,9 @@
#include "unknownevent.h"
#include <QtCore/QJsonDocument>
+#include <QtCore/QDebug>
+
+#include "../logging_util.h"
using namespace QMatrixClient;
@@ -56,5 +59,7 @@ UnknownEvent* UnknownEvent::fromJson(const QJsonObject& obj)
e->parseJson(obj);
e->d->type = obj.value("type").toString();
e->d->content = QString::fromUtf8(QJsonDocument(obj).toJson());
+ qDebug() << "UnknownEvent, JSON follows:";
+ qDebug() << formatJson << obj;
return e;
-} \ No newline at end of file
+}