Skip to content

Commit 377bde5

Browse files
committed
fixed error in previous release
1 parent 3f969dc commit 377bde5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Meteor.Stream = function Stream(name, callback) {
3333
subscription = Meteor.subscribe(streamName, callback);
3434

3535
self.emit = function emit() {
36-
if(true) {
36+
if(connected) {
3737
Meteor.call(streamName, subscriptionId, arguments);
3838
} else {
3939
pendingEvents.push(arguments);

smart.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"description": "DB less realtime communication for meteor",
44
"homepage": "https://github.com/arunoda/meteor-streams",
55
"author": "Arunoda Susiripala <arunoda.susiripala@gmail.com>",
6-
"version": "0.1.10",
6+
"version": "0.1.11",
77
"git": "https://github.com/arunoda/meteor-streams.git"
88
}

0 commit comments

Comments
 (0)