mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Timeout api, and fixes it lead to
- timeout on api-calls with Retry-After present in header - Fixed issue where when server restarts you are sometimes logged out for some reason - README updates
This commit is contained in:
@@ -282,18 +282,6 @@ module.exports = function() {
|
||||
|
||||
socket.on('skip', function(list)
|
||||
{
|
||||
if(coll !== undefined) {
|
||||
try {
|
||||
coll = list.channel;
|
||||
if(coll.length == 0) return;
|
||||
coll = emojiStrip(coll).toLowerCase();
|
||||
coll = coll.replace("_", "");
|
||||
coll = encodeURIComponent(coll).replace(/\W/g, '');
|
||||
coll = filter.clean(coll);
|
||||
} catch(e) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
List.skip(list, guid, coll, offline, socket);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user