New reply notifications can be missing as a result of merging threads/posts

Affected version


Well-known member
Consider two threads A and B with the last post in thread B being more recent than the last post in thread A. Consider furthermore that a user has completely read thread A but not thread B (or at least not its most recent post). Now, a moderator merges thread B into thread A (or merges the last post of thread B into thread A). Now assume that someone else replies to thread A. The problem is that our user won't be notified of such replies in thread A (because it already contains at least one unread post, namely the last post of the former thread B).

Could XenForo update the xf_thread_read table when merging posts/threads?