diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-05-03 17:42:44 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-05-03 17:42:44 +0200 |
commit | 2df57f38a066c5a3c26a0fe799ad81b7ef3958cd (patch) | |
tree | 33622e354ae7cf6d8f48bdb24302060ab7bf3663 /src/eu/siacs/conversations/xmpp/stanzas/IqPacket.java | |
parent | 4822d4dce7c8110c76dece28ccc2b3dd98698b97 (diff) |
properly reply to iq requests. reply to disco
Diffstat (limited to 'src/eu/siacs/conversations/xmpp/stanzas/IqPacket.java')
-rw-r--r-- | src/eu/siacs/conversations/xmpp/stanzas/IqPacket.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/xmpp/stanzas/IqPacket.java b/src/eu/siacs/conversations/xmpp/stanzas/IqPacket.java index 9e288454..48e5c0ec 100644 --- a/src/eu/siacs/conversations/xmpp/stanzas/IqPacket.java +++ b/src/eu/siacs/conversations/xmpp/stanzas/IqPacket.java @@ -26,6 +26,9 @@ public class IqPacket extends AbstractStanza { case TYPE_RESULT: this.setAttribute("type", "result"); break; + case TYPE_ERROR: + this.setAttribute("type", "error"); + break; default: break; } |