Merge remote-tracking branch 'upstream/master'
[quix0rs-gnu-social.git] / plugins / ConversationTree / ConversationTreePlugin.php
index 5532adb66eeb5b47bc92a418c87cfdb25542aa5d..042677f82425e945a957ba12893991ba9bf6ae21 100644 (file)
@@ -26,7 +26,7 @@ if (!defined('GNUSOCIAL')) { exit(1); }
 class ConversationTreePlugin extends Plugin
 {
     public function onStartShowConversation(Action $action, Conversation $conv, Profile $scoped=null) {
-        $nl = new ConversationTree($conv->getNotices(), $action);
+        $nl = new ConversationTree($conv->getNotices($action->getScoped()), $action);
         $cnt = $nl->show();
         return false;
     }