Get chatname from component