]> Sergey Matveev's repositories - public-inbox.git/commit
view: fix topic threading when ghosts are present
authorEric Wong <e@80x24.org>
Wed, 22 Jun 2016 06:01:07 +0000 (06:01 +0000)
committerEric Wong <e@80x24.org>
Wed, 22 Jun 2016 06:01:07 +0000 (06:01 +0000)
commit16f8f397a4cb4f119f79b687dbaf38875a162dd1
tree9cc607a24063a82800aee0c869f275d6eb10ccc4
parent2550582bfa95c8c610f5bdea5a2b2482d27005aa
view: fix topic threading when ghosts are present

This fixes a bug where a message replying to a ghost would
accidentally be added to the wrong topic in the index/topic
view.

Before commit 76d8f68dc273e54809ad69cfe49e141003f790ef ("view:
avoid recursion in topic index"), we would refuse to indent a
topic which started with a ghost which hid the problem.  Now we
inform the user the thread started elsewhere.
lib/PublicInbox/View.pm