mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-11-22 23:14:27 +00:00
Add missing 'to' attribute when sending service-unavailable for an unknown IG get/set NS
fixes #604
This commit is contained in:
parent
a99c3ff16d
commit
ff6caf241c
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@ namespace Xmpp.Iq {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
Iq.Stanza unavailable_error = new Iq.Stanza.error(iq, new ErrorStanza.service_unavailable());
|
||||
// Send error if we don't handle the NS of the IQ get/set payload (RFC6120 10.3.3 (2))
|
||||
Iq.Stanza unavailable_error = new Iq.Stanza.error(iq, new ErrorStanza.service_unavailable()) { to=iq.from };
|
||||
send_iq(stream, unavailable_error);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue