aboutsummaryrefslogtreecommitdiff
path: root/connectionprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'connectionprivate.h')
-rw-r--r--connectionprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/connectionprivate.h b/connectionprivate.h
index 1fccc759..c538cef5 100644
--- a/connectionprivate.h
+++ b/connectionprivate.h
@@ -47,6 +47,8 @@ namespace QMatrixClient
void processState( State* state );
void processRooms( const QList<SyncRoomData>& data );
+ /** Finds a room with this id or creates a new one and adds it to roomMap. */
+ Room* provideRoom( QString id );
Connection* q;
ConnectionData* data;