diff options
Diffstat (limited to 'xmpp-vala/src/module/session.vala')
-rw-r--r-- | xmpp-vala/src/module/session.vala | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xmpp-vala/src/module/session.vala b/xmpp-vala/src/module/session.vala index 82d8cfc2..babf735c 100644 --- a/xmpp-vala/src/module/session.vala +++ b/xmpp-vala/src/module/session.vala @@ -8,7 +8,6 @@ public class Module : XmppStreamNegotiationModule { public static ModuleIdentity<Module> IDENTITY = new ModuleIdentity<Module>(NS_URI, "session"); public override void attach(XmppStream stream) { - Bind.Module.require(stream); stream.get_module(Bind.Module.IDENTITY).bound_to_resource.connect(on_bound_resource); } @@ -16,10 +15,6 @@ public class Module : XmppStreamNegotiationModule { stream.get_module(Bind.Module.IDENTITY).bound_to_resource.disconnect(on_bound_resource); } - public static void require(XmppStream stream) { - if (stream.get_module(IDENTITY) == null) stream.add_module(new Module()); - } - public override bool mandatory_outstanding(XmppStream stream) { return false; } public override bool negotiation_active(XmppStream stream) { |