aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/connection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 3b747d08..5d817d69 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -383,7 +383,7 @@ namespace QMatrixClient
*
* \sa directChatAvailable
*/
- Q_INVOKABLE void requestDirectChat(const QString& userId);
+ void requestDirectChat(const QString& userId);
/** Run an operation in a direct chat with the user
* This method may return synchronously or asynchoronously depending
@@ -391,7 +391,7 @@ namespace QMatrixClient
* already. Instead of emitting a signal it executes the passed
* function object with the direct chat room as its parameter.
*/
- Q_INVOKABLE void doInDirectChat(const QString& userId,
+ void doInDirectChat(const QString& userId,
std::function<void(Room*)> operation);
/** Create a direct chat with a single user, optional name and topic