aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 );