Added 'getAllSentMessages' command to API #222
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?
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.