Added trashSentMessageByAckData API command #453
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For a while the msgid was not stored in the sent table. Current API commands only allow deletion of messages using msgid. I have added the trashSentMessageByAckData.API command which will allow deletion of sent messages using ackdata.
My intention of this commit is to help maintain backwards compatibility, allowing older sent messages to be deleted. However, I believe the preferred method of deleting messages should be done using msgid. Therefore, perhaps this API command should only be used as a "last resort".
Another benefit of using trashSentMessageByAckData is that an outgoing message can be "canceled". In other words, the message can be deleted while it is still in the PoW phase.
+1
Sounds useful to me. Thank you.