mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
This commit is contained in:
parent
99f1abd9f8
commit
4a9bd50064
1 changed files with 8 additions and 0 deletions
|
@ -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 a new issue