diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-08-03 17:14:40 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-08-03 17:14:40 +0900 |
commit | 527a12eb5b6009f679b7e18eceda782f3f5747b7 (patch) | |
tree | 0f33e6db11f5e9862708e70a31f0d1c1303a65ab /lib/room.h | |
parent | de72fb7f9b6e36021c284c011f19714defe80713 (diff) | |
download | libquotient-527a12eb5b6009f679b7e18eceda782f3f5747b7.tar.gz libquotient-527a12eb5b6009f679b7e18eceda782f3f5747b7.zip |
Room::retryMessage and Room::discardMessage
Diffstat (limited to 'lib/room.h')
-rw-r--r-- | lib/room.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -318,6 +318,8 @@ namespace QMatrixClient /** @deprecated If you have a custom event type, construct the event * and pass it as a whole to postMessage() */ QString postMessage(const QString& type, const QString& plainText); + QString retryMessage(const QString& txnId); + void discardMessage(const QString& txnId); void setName(const QString& newName); void setCanonicalAlias(const QString& newAlias); void setTopic(const QString& newTopic); @@ -353,6 +355,8 @@ namespace QMatrixClient void pendingEventAboutToMerge(RoomEvent* serverEvent, int pendingEventIndex); void pendingEventMerged(); + void pendingEventAboutToDiscard(int pendingEventIndex); + void pendingEventDiscarded(); void pendingEventChanged(int pendingEventIndex); /** |