Use isupport informations to know the user modes when joining

Also remove the duplicate send_self_join methods, user only send_user_join
This commit is contained in:
Florent Le Coz
2014-01-04 01:59:36 +01:00
parent a075517824
commit acf769d83a
9 changed files with 68 additions and 76 deletions
+4 -5
View File
@@ -78,11 +78,10 @@ public:
void send_user_join(const std::string& from,
const std::string& nick,
const std::string& realjid,
const std::string& to);
/**
* Send the self join to the user
*/
void send_self_join(const std::string& from, const std::string& nick, const std::string& to);
const std::string& affiliation,
const std::string& role,
const std::string& to,
const bool self);
/**
* Send the MUC topic to the user
*/