public function joinChat($name)
    {
        if (!starts_with($name, '#')) {
            $name = "#$name";
        }

        /*
         * If a Chat with the given name already exists
         * Then return it
         */
        if (array_key_exists($name, $this->chats)) {
            return $this->chats[$name];
        }

        \Logger::info("Joining Chat $name");

        $chat = new Chat($this, $name);
        $this->chats[$name] = $chat;

        return $chat;
    }