2006-09-03 [colin] 2.4.0cvs137
[claws.git] / src / compose.c
index a9cb7194bc0e21bb7ce786818d24077d93eb2e1c..6312da9442d981906fa6782f44ef1b549a6776de 100644 (file)
@@ -982,7 +982,7 @@ Compose *compose_generic_new(PrefsAccount *account, const gchar *mailto, FolderI
        } else {
                if (mailto) {
                        compose_entry_append(compose, mailto, COMPOSE_NEWSGROUPS);
-               } else if (item) {
+               } else if (item && FOLDER_CLASS(item->folder) == news_get_class()) {
                        compose_entry_append(compose, item->path, COMPOSE_NEWSGROUPS);
                }
                /*