aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJosip Delic <delijati@googlemail.com>2018-09-17 11:45:45 +0200
committerJosip Delic <delijati@googlemail.com>2018-09-17 11:45:45 +0200
commitc1a3dd719b735f7f77306d92baf5923df4fb0b10 (patch)
treedff86e2cc3d1c42233f70b6c0f09b0db307d7513 /lib
parent8837f87bd94f4daa20a7645a1c4ba0dafe842001 (diff)
downloadlibquotient-c1a3dd719b735f7f77306d92baf5923df4fb0b10.tar.gz
libquotient-c1a3dd719b735f7f77306d92baf5923df4fb0b10.zip
return false in processStateEvent; make processCall private
Diffstat (limited to 'lib')
-rw-r--r--lib/room.cpp2
-rw-r--r--lib/room.h4
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;
diff --git a/lib/room.h b/lib/room.h
index 403207dd..c71d10e0 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -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;
};