diff options
Diffstat (limited to 'xmpp-vala/src/module/bind.vala')
-rw-r--r-- | xmpp-vala/src/module/bind.vala | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xmpp-vala/src/module/bind.vala b/xmpp-vala/src/module/bind.vala index a13f9640..71aae149 100644 --- a/xmpp-vala/src/module/bind.vala +++ b/xmpp-vala/src/module/bind.vala @@ -41,7 +41,6 @@ namespace Xmpp.Bind { } public override void attach(XmppStream stream) { - Iq.Module.require(stream); stream.received_features_node.connect(this.received_features_node); } @@ -49,10 +48,6 @@ namespace Xmpp.Bind { stream.received_features_node.disconnect(this.received_features_node); } - 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 !stream.has_flag(Flag.IDENTITY) || !stream.get_flag(Flag.IDENTITY).finished; } |