Added 'getAllSentMessages' command to API #222

Merged
DivineOmega merged 2 commits from master into master 2013-06-20 13:27:20 +02:00
DivineOmega commented 2013-06-19 12:01:34 +02:00 (Migrated from github.com)

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.

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.
AyrA commented 2013-06-19 20:50:46 +02:00 (Migrated from github.com)

will the trashMessage command actuallz remove these too, if a message id from the outbox is specified?

will the trashMessage command actuallz remove these too, if a message id from the outbox is specified?
DivineOmega commented 2013-06-19 21:58:48 +02:00 (Migrated from github.com)

@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 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.
DivineOmega commented 2013-06-20 00:24:06 +02:00 (Migrated from github.com)

@AyrA See my latest pull request (https://github.com/Bitmessage/PyBitmessage/pull/228) which includes a trashSentMessage API command which does what you suggested.

@AyrA See my latest pull request (https://github.com/Bitmessage/PyBitmessage/pull/228) which includes a trashSentMessage API command which does what you suggested.
This repo is archived. You cannot comment on pull requests.
No description provided.