mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-08 11:31:01 +00:00
This commit is contained in:
parent
99f1abd9f8
commit
4a9bd50064
@ -410,6 +410,14 @@ jabberMsg(XMLNode node) {
|
||||
break;
|
||||
case "db:verify": // receiving step 9
|
||||
// t = NAMEPREP(node["@to"]) + ";" + node["@id"];
|
||||
if (hostname != node["@from"]) {
|
||||
// http://xmpp.org/resources/security-notices/server-dialback/
|
||||
P0(("db:verify: hostname %s != %s (verify from address)\n",
|
||||
hostname, node["@from"]))
|
||||
emitraw("</stream:stream>");
|
||||
remove_interactive(ME);
|
||||
return;
|
||||
}
|
||||
t = node["@id"];
|
||||
o = gateways[t];
|
||||
if (objectp(o)) {
|
||||
|
Loading…
Reference in New Issue
Block a user