##// END OF EJS Templates
Connect reply to the multi-thread OP only to this OP main thread, not all...
neko259 -
r1201:06e20fca default
parent child Browse files
Show More
@@ -410,11 +410,6 b' class Post(models.Model, Viewable):'
410 410 pass
411 411
412 412 def connect_threads(self, opening_posts):
413 """
414 If the referenced post is an OP in another thread,
415 make this post multi-thread.
416 """
417
418 413 for opening_post in opening_posts:
419 414 threads = opening_post.get_threads().all()
420 415 for thread in threads:
@@ -423,5 +418,4 b' class Post(models.Model, Viewable):'
423 418
424 419 thread.last_edit_time = self.last_edit_time
425 420 thread.save(update_fields=['last_edit_time', 'bumpable'])
426
427 self.threads.add(thread)
421 self.threads.add(opening_post.get_thread())
General Comments 0
You need to be logged in to leave comments. Login now