diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-28 17:50:24 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-28 17:50:24 +0800 |
commit | 63d9c070ef7637a3d570a5a45ea931c1680ebc02 (patch) | |
tree | 5417c8da151ca6be820a1a4ec4b023191dff7f2b /lib | |
parent | 1345a8c67c41a31847c0dea23a7e7904bf25779a (diff) | |
download | go-tangerine-63d9c070ef7637a3d570a5a45ea931c1680ebc02.tar go-tangerine-63d9c070ef7637a3d570a5a45ea931c1680ebc02.tar.gz go-tangerine-63d9c070ef7637a3d570a5a45ea931c1680ebc02.tar.bz2 go-tangerine-63d9c070ef7637a3d570a5a45ea931c1680ebc02.tar.lz go-tangerine-63d9c070ef7637a3d570a5a45ea931c1680ebc02.tar.xz go-tangerine-63d9c070ef7637a3d570a5a45ea931c1680ebc02.tar.zst go-tangerine-63d9c070ef7637a3d570a5a45ea931c1680ebc02.zip |
fixed incoming messages
Diffstat (limited to 'lib')
-rw-r--r-- | lib/filter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filter.js b/lib/filter.js index 8c7dc6e33..d93064b58 100644 --- a/lib/filter.js +++ b/lib/filter.js @@ -48,7 +48,7 @@ Filter.prototype.changed = function(callback) { /// trigger calling new message from people Filter.prototype.trigger = function(messages) { for (var i = 0; i < this.callbacks.length; i++) { - for (var j = 0; j < messages; j++) { + for (var j = 0; j < messages.length; j++) { this.callbacks[i].call(this, messages[j]); } } |