mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
don't err on jabber iq requests
This commit is contained in:
parent
349a7e92e3
commit
b29dca089a
2 changed files with 6 additions and 6 deletions
|
@ -571,17 +571,14 @@ iq(XMLNode node) {
|
|||
|
||||
P3(("%O IQ node %O\n", ME, node))
|
||||
firstchild = getfirstchild(node);
|
||||
unless(firstchild) {
|
||||
switch(node["@type"]) {
|
||||
unless(firstchild) switch(node["@type"]) {
|
||||
case "get":
|
||||
break;
|
||||
case "set":
|
||||
break;
|
||||
case "result":
|
||||
break;
|
||||
case "error":
|
||||
break;
|
||||
}
|
||||
default:
|
||||
P1(("%O got invalid iq %O\n", ME, node))
|
||||
return;
|
||||
}
|
||||
helper = firstchild;
|
||||
|
@ -1016,6 +1013,7 @@ iq(XMLNode node) {
|
|||
break;
|
||||
#endif
|
||||
default:
|
||||
P1(("%O got IQ with unknown namespace: %O\n", ME, node))
|
||||
switch(node["@type"]) {
|
||||
case "get":
|
||||
if (node["@to"]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue