aboutsummaryrefslogtreecommitdiff
path: root/events/roommemberevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'events/roommemberevent.cpp')
-rw-r--r--events/roommemberevent.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/events/roommemberevent.cpp b/events/roommemberevent.cpp
index 93b4bb32..0dafd303 100644
--- a/events/roommemberevent.cpp
+++ b/events/roommemberevent.cpp
@@ -17,6 +17,7 @@
*/
#include "roommemberevent.h"
+#include "util.h"
#include <QtCore/QDebug>
@@ -81,7 +82,7 @@ RoomMemberEvent* RoomMemberEvent::fromJson(const QJsonObject& obj)
else if( membershipString == "ban" )
e->d->membership = MembershipType::Ban;
else
- qDebug() << "Unknown MembershipType: " << membershipString;
+ qCDebug(EVENTS) << "Unknown MembershipType: " << membershipString;
e->d->avatarUrl = QUrl(content.value("avatar_url").toString());
return e;
}