public function Popin() { $this->Permission('Garden.SignIn.Allow'); // Fetch from model $Conversations = $this->ConversationModel->Get2(Gdn::Session()->UserID, 0, 5)->ResultArray(); // Last message user data Gdn::UserModel()->JoinUsers($Conversations, array('LastInsertUserID')); // Join in the participants. $this->SetData('Conversations', $Conversations); $this->Render(); }