Improve sending message with mentions

* Fix bug with reply having broken mentions (@$1:$2)
* Fix mentions disapearing from edited messages
* Fix formatting disapearing from edited messages
This commit is contained in:
Carl Schwan
2021-01-21 22:54:51 +01:00
parent 157f7cd870
commit b9d34487a4
4 changed files with 16 additions and 30 deletions

View File

@@ -70,8 +70,7 @@ public Q_SLOTS:
///
/// This also interprets commands if any.
void postMessage(const QString &text, const QString &attachementPath,
const QString &replyEventId, const QString &editEventId,
const QVariantMap usernames);
const QString &replyEventId, const QString &editEventId);
private:
Connection *m_connection = nullptr;