aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2016-09-06 20:05:40 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2016-09-07 09:00:55 +0900
commitae309030049098c2e831991b0317214e3b4de598 (patch)
tree375e89382b06d5ec5875f4198c64cd93c4a4afb0
parent906913c899a9991d303791179b6883cbc5c02151 (diff)
downloadlibquotient-ae309030049098c2e831991b0317214e3b4de598.tar.gz
libquotient-ae309030049098c2e831991b0317214e3b4de598.zip
More dead code removal
-rw-r--r--connection.cpp7
-rw-r--r--connection.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/connection.cpp b/connection.cpp
index 98ff914a..08f6c241 100644
--- a/connection.cpp
+++ b/connection.cpp
@@ -224,13 +224,6 @@ void Connection::leaveRoom(Room* room)
job->start();
}
-//void Connection::getMembers(Room* room)
-//{
-// RoomMembersJob* job = new RoomMembersJob(d->data, room);
-// connect( job, &RoomMembersJob::result, d, &ConnectionPrivate::gotRoomMembers );
-// job->start();
-//}
-
RoomMessagesJob* Connection::getMessages(Room* room, QString from)
{
RoomMessagesJob* job = new RoomMessagesJob(d->data, room, from);
diff --git a/connection.h b/connection.h
index c221d7eb..d5cf4883 100644
--- a/connection.h
+++ b/connection.h
@@ -57,7 +57,6 @@ namespace QMatrixClient
Q_INVOKABLE virtual PostReceiptJob* postReceipt( Room* room, Event* event );
Q_INVOKABLE virtual void joinRoom( QString roomAlias );
Q_INVOKABLE virtual void leaveRoom( Room* room );
-// Q_INVOKABLE virtual void getMembers( Room* room );
Q_INVOKABLE virtual RoomMessagesJob* getMessages( Room* room, QString from );
virtual MediaThumbnailJob* getThumbnail( QUrl url, int requestedWidth, int requestedHeight );