aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/bind.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-06-21 01:07:06 +0200
committerfiaxh <git@mx.ax.lt>2017-06-21 01:58:09 +0200
commit3f0089db86e2057293a33453361678989919147f (patch)
tree97d7748903ba57ebfcb19a6eb640536651dd6a8f /xmpp-vala/src/module/bind.vala
parent26973c89e391de673b6ac1db024a3098b1191393 (diff)
downloaddino-3f0089db86e2057293a33453361678989919147f.tar.gz
dino-3f0089db86e2057293a33453361678989919147f.zip
Session establishment
Diffstat (limited to 'xmpp-vala/src/module/bind.vala')
-rw-r--r--xmpp-vala/src/module/bind.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmpp-vala/src/module/bind.vala b/xmpp-vala/src/module/bind.vala
index 5a611875..7b08e0f7 100644
--- a/xmpp-vala/src/module/bind.vala
+++ b/xmpp-vala/src/module/bind.vala
@@ -35,7 +35,7 @@ namespace Xmpp.Bind {
StanzaNode bind_node = new StanzaNode.build("bind", NS_URI).add_self_xmlns();
bind_node.put_node(new StanzaNode.build("resource", NS_URI).put_node(new StanzaNode.text(requested_resource)));
stream.get_module(Iq.Module.IDENTITY).send_iq(stream, new Iq.Stanza.set(bind_node), (stream, iq) => {
- stream.get_module(Bind.Module.IDENTITY).iq_response_stanza(stream, iq);
+ stream.get_module(Module.IDENTITY).iq_response_stanza(stream, iq);
});
stream.add_flag(flag);
}
@@ -51,7 +51,7 @@ namespace Xmpp.Bind {
}
public static void require(XmppStream stream) {
- if (stream.get_module(IDENTITY) == null) stream.add_module(new Bind.Module(""));
+ if (stream.get_module(IDENTITY) == null) stream.add_module(new Module(""));
}
public override bool mandatory_outstanding(XmppStream stream) {