void Chatserver::createOrRejoinLobbys() { std::cout << "ChatServer::createOrRejoinLobbys()" << std::endl; std::vector<VisibleChatLobbyRecord> publicLobbies; rsMsgs->getListOfNearbyChatLobbies(publicLobbies); std::cout << "ChatServer: found " << publicLobbies.size() << " public lobbies." << std::endl; createOrRejoinLobby("Chatserver EN", "Welcome!", publicLobbies); createOrRejoinLobby("Chatserver DE", "Willkommen!", publicLobbies); createOrRejoinLobby("Chatserver ES", "Hola!", publicLobbies); createOrRejoinLobby("Chatserver FR", "Bonjour!", publicLobbies); }
void Chatserver::createOrRejoinLobbys() { std::cout << "ChatServer::createOrRejoinLobbys()" << std::endl; std::vector<VisibleChatLobbyRecord> publicLobbies; rsMsgs->getListOfNearbyChatLobbies(publicLobbies); std::cout << "ChatServer: found " << publicLobbies.size() << " public lobbies." << std::endl; // name, topic, id (optional), publicLobbies createOrRejoinLobby("Chatserver EN", "Welcome!", "b8e6eed03c11066d", publicLobbies); createOrRejoinLobby("Chatserver DE", "Willkommen!", publicLobbies); createOrRejoinLobby("Chatserver ES", "Hola!", publicLobbies); createOrRejoinLobby("Chatserver FR", "Bonjour!", publicLobbies); /* createOrRejoinLobby("PirateParty", "Arrrrr, http://antiprism.eu/", publicLobbies); createOrRejoinLobby("RetroShare on IRC", "This Lobby is bridged to #retroshare on Freenode IRC. Connect with IRC WebChat http://webchat.freenode.net/?channels=retroshare", publicLobbies); */ }
void inline Chatserver::createOrRejoinLobby(const std::string lobbyName, const std::string lobbyTopic, const std::vector<VisibleChatLobbyRecord> &publicLobbies) { createOrRejoinLobby(lobbyName, lobbyTopic, "", publicLobbies); }