Re: Reply to Group?



Ah--the light dawns--the penny drops. In sendmsg_window_new, we look in 
libbalsa_message_user_hdrs(message) for the header with a usable 
mailing-list address. This list doesn't include a lot of basic headers, 
including `to'. So it's pretty pointless, even misleading, including 
`to' in the string of headers to look for!

libbalsa_find_word(pair[0], "x-beenthere x-mailing-list to") should 
probably just be libbalsa_find_word(pair[0], "x-beenthere 
x-mailing-list"). The `to' address is in a separate message->to_list; I 
guess we could use that as a fallback if we don't find "x-beenthere" or 
"x-mailing-list", but only if it's a single address; if there's more 
than one, how can we tell which is the mailing-list?

Peter



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]