Send Threaded Messages

This MR deals with only sending threaded messages. Showing threads will turn up in a follow up. This allows you to start a new thread by clicking reply in thread to a normal message. 

You can also do a threaded reply to a threaded message in the main timeline at the moment because those messages aren't shown in a separate thread timeline yet but will be in future.
This commit is contained in:
James Graham
2023-10-20 17:07:09 +00:00
parent 3c7774800a
commit 39556f45ab
13 changed files with 562 additions and 329 deletions

View File

@@ -884,7 +884,8 @@ public Q_SLOTS:
const QString &cleanedText,
Quotient::MessageEventType type = Quotient::MessageEventType::Text,
const QString &replyEventId = QString(),
const QString &relateToEventId = QString());
const QString &relateToEventId = QString(),
const QString &threadRootId = QString());
/**
* @brief Send an html message to the room.
@@ -899,7 +900,8 @@ public Q_SLOTS:
const QString &html,
Quotient::MessageEventType type = Quotient::MessageEventType::Text,
const QString &replyEventId = QString(),
const QString &relateToEventId = QString());
const QString &relateToEventId = QString(),
const QString &threadRootId = QString());
/**
* @brief Set the room avatar.