Added trashSentMessageByAckData API command #453

Merged
acejam merged 1 commits from master into master 2013-08-29 04:10:14 +02:00
acejam commented 2013-08-27 04:45:00 +02:00 (Migrated from github.com)

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.

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.
robzon commented 2013-08-27 10:38:18 +02:00 (Migrated from github.com)

+1

+1
Atheros1 commented 2013-08-29 04:10:33 +02:00 (Migrated from github.com)

Sounds useful to me. Thank you.

Sounds useful to me. Thank you.
This repo is archived. You cannot comment on pull requests.
No description provided.