Added 'getAllSentMessages' command to API #222
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-17#222
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?
Added a 'getAllSentMessages' command to the API, which returns a JSON array 'sentMessages' containing message objects with the following fields:
msgid, toAddress, fromAddress, subject, message, encodingType, lastActionTime, status
Very similar to the existing 'getAllInboxMessages' command.
will the trashMessage command actuallz remove these too, if a message id from the outbox is specified?
@AyrA The getAllSentMessages command I've added will only bring back active (not trashed) messages, but to answer your question, it seems the existing trashMessage command only deletes messages from the inbox table and not the sent table. Good idea for an improvement though.
@AyrA See my latest pull request (https://github.com/Bitmessage/PyBitmessage/pull/228) which includes a trashSentMessage API command which does what you suggested.