Comparing version 0.1.9 to 0.1.10
{ | ||
"author": "Ian Jennings", | ||
"name": "ocf", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "Open Chat Framework", | ||
@@ -6,0 +6,0 @@ "main": "src/index.js", |
"use strict"; | ||
// Allows us to create and bind to events. Everything in OCF is an event | ||
@@ -260,10 +259,2 @@ // emitter | ||
// get a list of users online now | ||
// ask PubNub for information about connected users in this channel | ||
OCF.pubnub.hereNow({ | ||
channels: [this.channel], | ||
includeUUIDs: true, | ||
includeState: true | ||
}, this.onHereNow); | ||
OCF.pubnub.addListener({ | ||
@@ -276,5 +267,14 @@ status: this.onStatus, | ||
OCF.pubnub.subscribe({ | ||
channels: [this.channel] | ||
channels: [this.channel], | ||
withPresence: true | ||
}); | ||
// get a list of users online now | ||
// ask PubNub for information about connected users in this channel | ||
OCF.pubnub.hereNow({ | ||
channels: [this.channel], | ||
includeUUIDs: true, | ||
includeState: true | ||
}, this.onHereNow); | ||
} | ||
@@ -281,0 +281,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1808082
25625