handling the privet msg between the users

This commit is contained in:
mochaoui
2024-04-18 05:39:12 -05:00
parent db1e03ae5c
commit 8f6bb64ff4
3 changed files with 39 additions and 27 deletions

View File

@@ -25,9 +25,8 @@ private:
std::string topic;
std::string key;
std::vector<std::string> users;
std::map<int, std::string> nicknames; // Replace unordered_map with map
// std::map<int, std::string> nicknames; // Replace unordered_map with map
std::map<std::string, int> userFdMap; // Mapping of usernames to file descriptors
std::vector<std::string> invitedUsers;
std::vector<std::string> operators;