mu4e: Do not assume orphan messages can't appear in the middle of a thread

Do not clear the thread state when an orphan message is found.
This commit is contained in:
Marcelo Henrique Cerri 2018-05-03 08:27:20 -03:00
parent 26cd0a59ff
commit 94e9795d9d
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ into a string."
(last-child (plist-get thread :last-child)) (last-child (plist-get thread :last-child))
(duplicate (plist-get thread :duplicate))) (duplicate (plist-get thread :duplicate)))
;; Do not prefix root messages. ;; Do not prefix root messages.
(if (or (= level 0) empty-parent) (if (= level 0)
(setq mu4e~headers-thread-state '())) (setq mu4e~headers-thread-state '()))
(if (> level 0) (if (> level 0)
(let* ((length (length mu4e~headers-thread-state)) (let* ((length (length mu4e~headers-thread-state))