Decode incoming JIDs local part according to xep 0106
This let users send message to nicks such as Q@CServe.quakenet.org fix #3047
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include <utils/tolower.hpp>
|
||||
#include <config/config.hpp>
|
||||
#include <utils/encoding.hpp>
|
||||
|
||||
#include <irc/iid.hpp>
|
||||
|
||||
@@ -68,6 +69,7 @@ Iid::Iid():
|
||||
void Iid::set_local(const std::string& loc)
|
||||
{
|
||||
this->local = utils::tolower(loc);
|
||||
xep0106::decode(local);
|
||||
}
|
||||
|
||||
void Iid::set_server(const std::string& serv)
|
||||
|
||||
Reference in New Issue
Block a user