diff options
author | fiaxh <git@mx.ax.lt> | 2017-08-12 23:27:20 +0200 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-08-14 22:38:17 +0200 |
commit | b0264b3e0034ddd9ea76d0e13bb4c3c709ba3b3e (patch) | |
tree | 9ee146149360fa87a123c77e8d983ae393ed8f8f /xmpp-vala/src/module/xep/0199_ping.vala | |
parent | a59f728bdd7b81964a460b96b6c56da0d9dfda01 (diff) | |
download | dino-b0264b3e0034ddd9ea76d0e13bb4c3c709ba3b3e.tar.gz dino-b0264b3e0034ddd9ea76d0e13bb4c3c709ba3b3e.zip |
xmpp-vala: Remove require-functions
Diffstat (limited to 'xmpp-vala/src/module/xep/0199_ping.vala')
-rw-r--r-- | xmpp-vala/src/module/xep/0199_ping.vala | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xmpp-vala/src/module/xep/0199_ping.vala b/xmpp-vala/src/module/xep/0199_ping.vala index 3a5c6797..74802be1 100644 --- a/xmpp-vala/src/module/xep/0199_ping.vala +++ b/xmpp-vala/src/module/xep/0199_ping.vala @@ -16,16 +16,11 @@ namespace Xmpp.Xep.Ping { } public override void attach(XmppStream stream) { - Iq.Module.require(stream); stream.get_module(Iq.Module.IDENTITY).register_for_namespace(NS_URI, new IqHandlerImpl()); } public override void detach(XmppStream stream) { } - public static void require(XmppStream stream) { - if (stream.get_module(IDENTITY) == null) stream.add_module(new Module()); - } - public override string get_ns() { return NS_URI; } public override string get_id() { return IDENTITY.id; } |