Fix mark event as read command
This commit is contained in:
parent
89e06f32dd
commit
ee62c9990d
2 changed files with 3 additions and 0 deletions
|
|
@ -556,6 +556,8 @@ Item {
|
|||
Component {
|
||||
MenuItem {
|
||||
text: qsTr("&Mark as read")
|
||||
|
||||
onTriggered: room.markEventAsRead(messageContextMenuC.eventId)
|
||||
}
|
||||
}
|
||||
Component {
|
||||
|
|
|
|||
|
|
@ -332,6 +332,7 @@ public:
|
|||
Q_INVOKABLE void openUserProfile(QString userid);
|
||||
Q_INVOKABLE void unpin(const QString &id);
|
||||
Q_INVOKABLE void pin(const QString &id);
|
||||
Q_INVOKABLE void markEventAsRead(const QString &id) { this->readEvent(id.toStdString()); }
|
||||
Q_INVOKABLE void showReadReceipts(const QString &id);
|
||||
Q_INVOKABLE void redactEvent(const QString &id, const QString &reason = "");
|
||||
Q_INVOKABLE void redactAllFromUser(const QString &userid, const QString &reason = "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue