Forward CTCP version request to XMPP
This commit is contained in:
@@ -304,3 +304,8 @@ void Bridge::send_affiliation_role_change(const Iid& iid, const std::string& tar
|
||||
std::tie(role, affiliation) = get_role_affiliation_from_irc_mode(mode);
|
||||
this->xmpp->send_affiliation_role_change(iid.chan + "%" + iid.server, target, affiliation, role, this->user_jid);
|
||||
}
|
||||
|
||||
void Bridge::send_iq_version_request(const std::string& nick, const std::string& hostname)
|
||||
{
|
||||
this->xmpp->send_iq_version_request(nick + "%" + hostname, this->user_jid);
|
||||
}
|
||||
|
||||
@@ -99,6 +99,10 @@ public:
|
||||
* Send a role/affiliation change, matching the change of mode for that user
|
||||
*/
|
||||
void send_affiliation_role_change(const Iid& iid, const std::string& target, const char mode);
|
||||
/**
|
||||
* Send an iq version request coming from nick%hostname@
|
||||
*/
|
||||
void send_iq_version_request(const std::string& nick, const std::string& hostname);
|
||||
|
||||
/**
|
||||
* Misc
|
||||
|
||||
Reference in New Issue
Block a user