+2004-07-04 [paul] 0.9.12cvs7
+
+ * src/account.c
+ fix auto-account selection on imap/news
+
2004-07-01 [paul] 0.9.12cvs6
* src/gtk/quicksearch.c
if (msginfo->folder->prefs && msginfo->folder->prefs->enable_default_account)
account = account_find_from_id(msginfo->folder->prefs->default_account);
- /* select the account for the whole folder (IMAP / NNTP) */
- if (!account)
- /* FIXME: this is not right, because folder may be nested. we should
- * ascend the tree until we find a parent with proper account
- * information */
- account = msginfo->folder->folder->account;
-
/* select account by to: and cc: header if enabled */
if (reply_autosel) {
if (!account && msginfo->to) {
}
}
+ /* select the account for the whole folder (IMAP / NNTP) */
+ if (!account)
+ /* FIXME: this is not right, because folder may be nested. we should
+ * ascend the tree until we find a parent with proper account
+ * information */
+ account = msginfo->folder->folder->account;
+
/* select current account */
if (!account) account = cur_account;