mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-09 20:11:00 +00:00
This commit is contained in:
parent
99f1abd9f8
commit
4a9bd50064
@ -410,6 +410,14 @@ jabberMsg(XMLNode node) {
|
|||||||
break;
|
break;
|
||||||
case "db:verify": // receiving step 9
|
case "db:verify": // receiving step 9
|
||||||
// t = NAMEPREP(node["@to"]) + ";" + node["@id"];
|
// 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"];
|
t = node["@id"];
|
||||||
o = gateways[t];
|
o = gateways[t];
|
||||||
if (objectp(o)) {
|
if (objectp(o)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user