Rename iq_responder_callback_t to irc_… and add the equivalent to wait for iqs
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@
|
||||
class Iid
|
||||
{
|
||||
public:
|
||||
explicit Iid(const std::string& iid);
|
||||
Iid(const std::string& iid);
|
||||
explicit Iid(const Iid&);
|
||||
explicit Iid();
|
||||
|
||||
|
||||
@@ -156,7 +156,7 @@ void IrcClient::parse_in_buffer(const size_t)
|
||||
else
|
||||
log_info("No handler for command " << message.command);
|
||||
// Try to find a waiting_iq, which response will be triggered by this IrcMessage
|
||||
this->bridge->trigger_response_iq(this->hostname, message);
|
||||
this->bridge->trigger_on_irc_message(this->hostname, message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user