Bug 1746348 Comment 30 Edit History

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

> Is this correct: if i listen to onBeforeSend and no one had set fcc (e.g. via setComposeDetails()), than 'disabled' in the fcc field of the details reflects the fcc state of the account?

"disabled" in the defaultFcc field will only be set, if someone has manually called setComposeDetails and set it to "disabled" or if an Experiment has set composeFields.fcc = "nocopy://". The untouched value will be "default" (regardless of what that means).

I think I should rename ``composeDetails.defaultFcc`` to ``composeDetails.fcc``, as it never returns the state of the default identity fcc, but the fcc configuration of that single email: Either it is using the default or a custom value.
> Is this correct: if i listen to onBeforeSend and no one had set fcc (e.g. via setComposeDetails()), than 'disabled' in the fcc field of the details reflects the fcc state of the account?

"disabled" in the defaultFcc field will only be set, if someone has manually called ``setComposeDetails()`` and set it to "disabled" or if an Experiment has set ``composeFields.fcc = "nocopy://"``. The untouched value will be "default" (regardless of what that means).

I think I should rename ``composeDetails.defaultFcc`` to ``composeDetails.fcc``, as it never returns the state of the default identity fcc, but the fcc configuration of that single email: Either it is using the default or a custom value.
> Is this correct: if i listen to onBeforeSend and no one had set fcc (e.g. via setComposeDetails()), than 'disabled' in the fcc field of the details reflects the fcc state of the account?

"disabled" in the defaultFcc field will only be set, if someone has manually called ``setComposeDetails()`` and set it to "disabled" or if an Experiment has set ``composeFields.fcc = "nocopy://"``. The untouched value will be "default" (regardless of what that means).

I think I should rename ``composeDetails.defaultFcc`` to ``composeDetails.fcc``, as it never returns the state of the default identity fcc, but the fcc configuration of that single email: Either it is using the default, enforces a custom value or enforces no fcc at all.

Back to Bug 1746348 Comment 30