Bug 1666005 Comment 40 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Magnus Melin [:mkmelin] from comment #39)
> ...
> I would think though that we could fix this in an easier way by a call to set the subject on the msg header directly after we finished storing the draft. 
Not sure if I understand, are you saying set the subject on the message at the point of saving the draft? Won't that undermine the point of encryption?

> Potentially for https://searchfox.org/comm-central/rev/5ab0af272bc5648e6b3452e228896344e48453a9/mail/components/compose/content/MsgComposeCommands.js#714 - grab the id, get the messages by id from the draft folder, set the subject on the header. Or something like that... 

If not, then what needs to be done in onStatus() ? Seems like nsIMsgSendListener is interested in the sending of the message. `onStatus()` does not seem to be called when saving a draft.
Question: Won't setting the decrypted subject on the message undermine the point of encryption?

Also, `onStatus()` does not seem to be called when I save a draft.

Back to Bug 1666005 Comment 40