aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/xep/0191_blocking_command.vala
diff options
context:
space:
mode:
authorhrxi <hrrrxi@gmail.com>2019-06-20 16:08:05 +0200
committerhrxi <hrrrxi@gmail.com>2019-06-21 18:09:44 +0200
commit57a7d165e91cbfa1b2b4c10e42958cdc0854e961 (patch)
tree812dd718bf4e2c9105c523e569b84fb83f37fe91 /xmpp-vala/src/module/xep/0191_blocking_command.vala
parent62aa8aa74a63e67247cd80d20ccc27ae52882b9e (diff)
downloaddino-57a7d165e91cbfa1b2b4c10e42958cdc0854e961.tar.gz
dino-57a7d165e91cbfa1b2b4c10e42958cdc0854e961.zip
Send bad-request error for unknown IQ set/gets
Diffstat (limited to 'xmpp-vala/src/module/xep/0191_blocking_command.vala')
-rw-r--r--xmpp-vala/src/module/xep/0191_blocking_command.vala1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/xep/0191_blocking_command.vala b/xmpp-vala/src/module/xep/0191_blocking_command.vala
index 4b78ed33..ee8a1fed 100644
--- a/xmpp-vala/src/module/xep/0191_blocking_command.vala
+++ b/xmpp-vala/src/module/xep/0191_blocking_command.vala
@@ -45,7 +45,6 @@ public class Module : XmppStreamModule, Iq.Handler {
return stream.has_flag(Flag.IDENTITY);
}
- private void on_iq_get(XmppStream stream, Iq.Stanza iq) { }
private void on_iq_set(XmppStream stream, Iq.Stanza iq) {
StanzaNode? block_node = iq.stanza.get_subnode("block", NS_URI);
StanzaNode? unblock_node = iq.stanza.get_subnode("unblock", NS_URI);