[Pkg-javascript-commits] [ltx] 22/469: client: useFeatures() is a Client not Connection method

Jonas Smedegaard dr at jones.dk
Wed Aug 31 13:00:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository ltx.

commit 372f1bb4e9a4ccf2699a6de80ebf7c3815572c6b
Author: Astro <astro at spaceboyz.net>
Date:   Sun May 30 22:59:59 2010 +0200

    client: useFeatures() is a Client not Connection method
---
 lib/xmpp/client.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/xmpp/client.js b/lib/xmpp/client.js
index 1427001..d198ae5 100644
--- a/lib/xmpp/client.js
+++ b/lib/xmpp/client.js
@@ -131,7 +131,7 @@ Client.prototype.onRawStanza = function(stanza) {
  * Either we just received <stream:features/>, or we just enabled a
  * feature and are looking for the next.
  */
-Connection.prototype.useFeatures = function() {
+Client.prototype.useFeatures = function() {
     if (this.state == STATE_PREAUTH &&
 	this.streamFeatures.getChild('mechanisms', NS_XMPP_SASL)) {
 	this.state = STATE_AUTH;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ltx.git



More information about the Pkg-javascript-commits mailing list