Skip to content

Commit

Permalink
1.0.2 bugfix - look for m.subscribedChannel rather than m.channel
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings committed Oct 25, 2016
1 parent dd17645 commit d6484a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eon-chart",
"version": "1.0.1",
"version": "1.0.2",
"homepage": "https://github.com/pubnub/eon-chart",
"authors": [
"Ian Jennings <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eon-chart",
"version": "1.0.1",
"version": "1.0.2",
"description": "C3 Realtime Charts with PubNub. Part of the EON Framework.",
"main": "pubnub-c3.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion pubnub-c3.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ window.eon.c = {
},
message: function(m) {

if(options.channels.indexOf(m.channel) > -1) {
if(options.channels.indexOf(m.subscribedChannel) > -1) {

clog('PubNub:', '-------------------');
clog('PubNub:', 'Received Message', m);
Expand Down

0 comments on commit d6484a8

Please sign in to comment.