Revert "Merged hotfix/reconnect-spam into develop"

This reverts commit b78a62a476886f756d9cddaa62a21a0da8c633f1.
Dedided not to do the whole 4-digit versioning thing
This commit is contained in:
benji7425 2017-01-06 22:09:16 +00:00
parent 93661a416f
commit 61487cb652
2 changed files with 1 additions and 7 deletions

View file

@ -1,11 +1,5 @@
# 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.pollingInterval); }, (Config.reconnectInterval || 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