# HG changeset patch # User neko259 # Date 2015-06-10 21:17:45 # Node ID 06e20fcafc3bbdaaeb55d3618e5c0bfc3ed30446 # Parent 570dd2449b788c67c0e583a1f2c1760de48ae1d5 Connect reply to the multi-thread OP only to this OP main thread, not all thread it references diff --git a/boards/models/post/__init__.py b/boards/models/post/__init__.py --- a/boards/models/post/__init__.py +++ b/boards/models/post/__init__.py @@ -410,11 +410,6 @@ class Post(models.Model, Viewable): pass def connect_threads(self, opening_posts): - """ - If the referenced post is an OP in another thread, - make this post multi-thread. - """ - for opening_post in opening_posts: threads = opening_post.get_threads().all() for thread in threads: @@ -423,5 +418,4 @@ class Post(models.Model, Viewable): thread.last_edit_time = self.last_edit_time thread.save(update_fields=['last_edit_time', 'bumpable']) - - self.threads.add(thread) + self.threads.add(opening_post.get_thread())