13
edits
Line 27: | Line 27: | ||
===== Kefu Zhao ===== | ===== Kefu Zhao ===== | ||
This week I started to work on my first patch to Bug 461669. Actually, this bug regards to the fact that TB still can't select the correct identity as the "from" address in "reply to list" mode. | |||
I added some code to handle "reply to list" case in getIdentityForHeader() in mailCommand.js. Basically, what I did was that I called out the mimeParser when "reply to list" mode is triggered. Then, I loaded all the "Delivered-To" headers (from the least recent to the most recent) to the "hintForIdentity", which is going to be passed to getBestIdentity() to help better decide which identity should be used as the "from" address. In getBestIdentity(), I am going to add some code to parse the "hintForIdentity" to find the last occurrence of the registered identity (if any). | |||
In this way, I hope this bug can be solved. | |||
BTW, in the patch that Bryan Clark posted, I found a bug that the "from" address cannot be selected from identities correctly in normal "reply" mode. I am investigating this as a side task. | |||
Next I am going to debug my code and get it work. Then I can post it and start writing some test for it. | |||
===== Lindauson Hazell ===== | ===== Lindauson Hazell ===== |
edits