diff --git a/app/Conversation.php b/app/Conversation.php index 5d2686775..71632fc85 100644 --- a/app/Conversation.php +++ b/app/Conversation.php @@ -686,7 +686,9 @@ public function getNearby($mode = 'closest', $folder_id = null, $status = null, $query = \Eventy::filter('conversation.get_nearby_query', $query, $this, $mode, $folder); - if ($status) { + $status_applied = \Eventy::filter('conversation.get_nearby_status', false, $query, $status, $this, $folder); + + if (!$status_applied && $status) { $query->where('status', $status); }