diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/room.cpp | 2 | ||||
-rw-r--r-- | lib/room.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/room.cpp b/lib/room.cpp index 2b81d47d..b7e8195d 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -1296,7 +1296,7 @@ bool Room::processCall(Room* room, const RoomEvent* event) if (!room->isCallSupported()) { qCDebug(MAIN) << "Got call event in room with more then two" << "members, Ignoring this event!"; - return true; + return false; } emit callEvent(room, event); return false; @@ -302,8 +302,6 @@ namespace QMatrixClient MemberSorter memberSorter() const; - bool processCall(Room* room, const RoomEvent* event); - Q_INVOKABLE void inviteCall(const QString& callId, const int lifetime, const QString& sdp); Q_INVOKABLE void callCandidates(const QString& callId, @@ -438,6 +436,8 @@ namespace QMatrixClient const RoomEvent& /*after*/) { } private: + bool processCall(Room* room, const RoomEvent* event); + class Private; Private* d; }; |