mirror of
https://github.com/flarum/core.git
synced 2025-07-20 08:11:27 +02:00
Prevent unapproved discussions from dropping to the bottom of the discussion list
This commit is contained in:
@@ -92,6 +92,7 @@ class StartDiscussionHandler
|
||||
// last_time.)
|
||||
$discussion->setRawAttributes($post->discussion->getAttributes(), true);
|
||||
$discussion->setStartPost($post);
|
||||
$discussion->setLastPost($post);
|
||||
|
||||
$this->dispatchEventsFor($discussion, $actor);
|
||||
|
||||
|
Reference in New Issue
Block a user