Added trashSentMessageByAckData API command #453
No reviewers
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-19#453
Loading…
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.