[sup-devel] [sup-talk] Preparing for sup 0.13
Mark Alexander
marka at pobox.com
Thu Oct 20 09:18:01 EDT 2011
Excerpts from Mark Alexander's message of Wed Oct 19 10:31:29 -0400 2011:
> Excerpts from Hamish D's message of Sun Oct 16 08:09:41 -0400 2011:
> > * added an account selector when composing email for those who have
> > multiple possible from addresses
>
> I'm having a problem with this feature, too.
>
> I have two main email accounts, one for personal email and one for
> work email. My before-edit.rb hook figures out which account to use
> as the sender (the "From" header) by looking at the recipients (the
> "To" header). This worked with sup 0.12, but with 0.13 the sender is
> changed back to the default as soon as I exit the editor.
I'm trying out the attached fix, and so far it seems to work.
it simply moves the calling of the before-edit hook before
the creation of the account selector.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: before-edit.patch
Type: application/octet-stream
Size: 877 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20111020/5c9b47e7/attachment.obj>
More information about the Sup-devel
mailing list