aboutsummaryrefslogtreecommitdiff
path: root/room.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-04-13 20:21:04 +0300
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-04-14 19:36:23 +0300
commit336b66edcc02cbf29f119107777c5bfc6d751c3d (patch)
tree481d7c59e9785e6acfcf419dd7eca23384b026bd /room.h
parentb5f3a57840986d3ebdc9bb81d73e0c4d6e876071 (diff)
downloadlibquotient-336b66edcc02cbf29f119107777c5bfc6d751c3d.tar.gz
libquotient-336b66edcc02cbf29f119107777c5bfc6d751c3d.zip
Enable PostMessageJob to send rich text messages
Diffstat (limited to 'room.h')
-rw-r--r--room.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/room.h b/room.h
index 590ddb6d..704fdf00 100644
--- a/room.h
+++ b/room.h
@@ -139,7 +139,9 @@ namespace QMatrixClient
MemberSorter memberSorter() const;
public slots:
- void postMessage(QString msgType, QString msgContent);
+ void postMessage(const QString& type, const QString& plainText);
+ void postMessage(const QString& type, const QString& plainText,
+ const QString& richText);
void getPreviousContent(int limit = 10);
void userRenamed(User* user, QString oldName);