Fix the order of from and to address in muc traffic info reply
And add a test for it. fix #3238
This commit is contained in:
@@ -738,7 +738,7 @@ void BiboumiComponent::send_irc_server_disco_info(const std::string& id, const s
|
||||
this->send_stanza(iq);
|
||||
}
|
||||
|
||||
void BiboumiComponent::send_irc_channel_muc_traffic_info(const std::string id, const std::string& jid_from, const std::string& jid_to)
|
||||
void BiboumiComponent::send_irc_channel_muc_traffic_info(const std::string id, const std::string& jid_to, const std::string& jid_from)
|
||||
{
|
||||
Stanza iq("iq");
|
||||
{
|
||||
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
* Sends the allowed namespaces in MUC message, according to
|
||||
* http://xmpp.org/extensions/xep-0045.html#impl-service-traffic
|
||||
*/
|
||||
void send_irc_channel_muc_traffic_info(const std::string id, const std::string& jid_from, const std::string& jid_to);
|
||||
void send_irc_channel_muc_traffic_info(const std::string id, const std::string& jid_to, const std::string& jid_from);
|
||||
/**
|
||||
* Send a ping request
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user