aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/room.h')
-rw-r--r--lib/room.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/room.h b/lib/room.h
index 808c6074..a9341bd2 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -385,7 +385,8 @@ namespace QMatrixClient
QString postMessage(const QString& plainText, MessageEventType type);
QString postPlainText(const QString& plainText);
QString postHtmlMessage(const QString& plainText,
- const QString& html, MessageEventType type);
+ const QString& html,
+ MessageEventType type = MessageEventType::Text);
QString postHtmlText(const QString& plainText, const QString& html);
QString postFile(const QString& plainText, const QUrl& localPath,
bool asGenericFile = false);