public function get_context_url(\core_search\document $doc) {
        $users = $this->get_current_other_users($doc);
        return new \moodle_url('/message/index.php', array('user1' => $users['currentuserid'], 'user2' => $users['otheruserid']));
    }
public function get_context_url(\core_search\document $doc) {
        $users = $this->get_current_other_users($doc);
        return new \moodle_url('/message/index.php', array('user1' => $users['currentuserid'], 'user2' => $users['otheruserid']));
    }
public function get_context_url ( \ core_search \ document $ doc ) { $ users = $ this -> get_current_other_users ( $ doc ) ; return new \ moodle_url ( '/message/index.php' , array ( 'user1' => $ users [ 'currentuserid' ] , 'user2' => $ users [ 'otheruserid' ] ) ) ; }
Link to the conversation.

@param \core_search\document $doc
@return \moodle_url
Link to the conversation .