aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--room.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/room.h b/room.h
index f7aa363c..702c22f3 100644
--- a/room.h
+++ b/room.h
@@ -159,7 +159,8 @@ namespace QMatrixClient
void postMessage(const QString& plainText,
MessageEventType type = MessageEventType::Text);
void postMessage(const RoomMessageEvent& event);
- /** @deprecated */
+ /** @deprecated If you have a custom event type, construct the event
+ * and pass it as a whole to postMessage() */
void postMessage(const QString& type, const QString& plainText);
void setTopic(const QString& newTopic);