aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2016-04-11 12:27:56 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2016-04-11 12:27:56 +0900
commit8045e36b6b8597120f46e0d4d42cf87ac790351b (patch)
treec0f970351d8fa9324b985aaa90bea177f8d11136
parent48e7e8108a62fe990972256143b8d71180312c8b (diff)
downloadlibquotient-8045e36b6b8597120f46e0d4d42cf87ac790351b.tar.gz
libquotient-8045e36b6b8597120f46e0d4d42cf87ac790351b.zip
Drop unneeded check and debug message
-rw-r--r--room.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/room.cpp b/room.cpp
index 11faf104..99d7f810 100644
--- a/room.cpp
+++ b/room.cpp
@@ -334,7 +334,6 @@ void Room::processStateEvent(Event* event)
{
RoomMemberEvent* memberEvent = static_cast<RoomMemberEvent*>(event);
User* u = d->connection->user(memberEvent->userId());
- if( !u ) qDebug() << "addState: invalid user!" << u << memberEvent->userId();
u->processEvent(event);
if( memberEvent->membership() == MembershipType::Join and !d->users.contains(u) )
{