From 8045e36b6b8597120f46e0d4d42cf87ac790351b Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 11 Apr 2016 12:27:56 +0900 Subject: Drop unneeded check and debug message --- room.cpp | 1 - 1 file changed, 1 deletion(-) 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(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) ) { -- cgit v1.2.3