diff options
author | anekos | 2012-08-22 00:37:31 +0900 |
---|---|---|
committer | anekos | 2012-08-22 00:37:31 +0900 |
commit | 54a179c772570391696c39beb4c7766d9bada6b5 (patch) | |
tree | e1074fc32ebbf5a543e92f95e7b85addb405f04d /twittperator.js | |
parent | 9b0249a0f687795caec587342e686300c6c7a39d (diff) | |
download | vimperator-plugins-54a179c772570391696c39beb4c7766d9bada6b5.tar.bz2 |
Reset restartCount at "tw!restartstreams"
Diffstat (limited to 'twittperator.js')
-rw-r--r-- | twittperator.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/twittperator.js b/twittperator.js index 42da2f2..88d80b7 100644 --- a/twittperator.js +++ b/twittperator.js @@ -1628,6 +1628,7 @@ let INFO = return { start: start, stop: stop, + resetRestartCount: function () (restartCount = 0), addListener: function(func) listeners.push(func), removeListener: function(func) (listeners = listeners.filter(function(l) (l != func))), clearPluginData: clearPluginData @@ -2681,6 +2682,9 @@ let INFO = let TrackingStream = Stream({ name: 'tracking stream', url: "https://stream.twitter.com/1/statuses/filter.json" }); let startStreams = function () { + ChirpUserStream.resetRestartCount(); + TrackingStream.resetRestartCount(); + if (setting.useChirp){ if(setting.allReplies) ChirpUserStream.start({"replies":"all"}); |