diff options
Diffstat (limited to 'xmpp-vala/src/module/xep/0049_private_xml_storage.vala')
-rw-r--r-- | xmpp-vala/src/module/xep/0049_private_xml_storage.vala | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/xmpp-vala/src/module/xep/0049_private_xml_storage.vala b/xmpp-vala/src/module/xep/0049_private_xml_storage.vala index 26a297b4..fd367dd8 100644 --- a/xmpp-vala/src/module/xep/0049_private_xml_storage.vala +++ b/xmpp-vala/src/module/xep/0049_private_xml_storage.vala @@ -26,16 +26,10 @@ namespace Xmpp.Xep.PrivateXmlStorage { }); } - public override void attach(XmppStream stream) { - Iq.Module.require(stream); - } + public override void attach(XmppStream stream) { } public override void detach(XmppStream stream) { } - public static void require(XmppStream stream) { - if (stream.get_module(IDENTITY) == null) stream.add_module(new PrivateXmlStorage.Module()); - } - public override string get_ns() { return NS_URI; } public override string get_id() { return IDENTITY.id; } } |