subject threading not when subject starts with "Re: "
[claws.git] / src / procmsg.c
index a466ca35f724554ce984d4e9a3d458f699e3abc0..979cf4e0e55bec6fd7e227cfb4f2e0fd632db3f3 100644 (file)
@@ -546,9 +546,8 @@ GNode *procmsg_get_thread_tree(GSList *mlist)
 
                if (msginfo->inreplyto)
                        parent = g_hash_table_lookup(msgid_table, msginfo->inreplyto);
-               if (parent == NULL)
+               if (parent == NULL && !subject_is_reply(msginfo->subject))
                        parent = subject_table_lookup(subject_table, msginfo->subject);
-
                
                if (parent && parent != node) {
                        g_node_unlink(node);