Merged hotfix/reconnect-spam into develop

This commit is contained in:
benji7425 2017-01-06 22:09:16 +00:00
commit 93661a416f
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,11 @@
# Changelog # Changelog
## v1.1.2.1
### Fixed
- Fixed reconnect timer being set to 0 sometimes
## v1.1.2 ## v1.1.2
### Updated ### Updated

View File

@ -50,7 +50,7 @@ var DiscordClient = {
DiscordClient.reconnectInterval = setInterval(function () { DiscordClient.reconnectInterval = setInterval(function () {
DiscordClient.startup(); DiscordClient.startup();
}, (Config.reconnectInterval || Config.pollingInterval)); }, Config.pollingInterval);
}, },
onMessage: function (user, userID, channelID, message) { onMessage: function (user, userID, channelID, message) {
//check if the message is in the right channel, contains a link, and is not the latest link from the rss feed //check if the message is in the right channel, contains a link, and is not the latest link from the rss feed