diff options
Diffstat (limited to 'events/receiptevent.cpp')
-rw-r--r-- | events/receiptevent.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/events/receiptevent.cpp b/events/receiptevent.cpp index 8029045a..5d11a0dd 100644 --- a/events/receiptevent.cpp +++ b/events/receiptevent.cpp @@ -34,6 +34,7 @@ Example of a Receipt Event: */ #include "receiptevent.h" +#include "util.h" #include <QtCore/QJsonArray> #include <QtCore/QDebug> @@ -72,8 +73,8 @@ ReceiptEvent* ReceiptEvent::fromJson(const QJsonObject& obj) { if (eventIt.key().isEmpty()) { - qWarning() << "ReceiptEvent has an empty event id, skipping"; - qDebug() << "ReceiptEvent content follows:\n" << contents; + qCWarning(EVENTS) << "ReceiptEvent has an empty event id, skipping"; + qCDebug(EVENTS) << "ReceiptEvent content follows:\n" << contents; continue; } const QJsonObject reads = eventIt.value().toObject().value("m.read").toObject(); |