kk
This commit is contained in:
		| @@ -63,7 +63,7 @@ module.exports = function(rssi){ | ||||
| 							Promise.all(articles.map(art=> | ||||
| 								this.bot.telegram.sendMessage(entry.chat,article_to_mess(art),{"parse_mode":"Markdown"}) | ||||
| 							)).then(rr=> | ||||
| 								db.set_v(entry.chat,parseInt(articles.pop().guid)) | ||||
| 								(articles.length == 0) || db.set_v(entry.chat,parseInt(articles.pop().guid)) | ||||
| 							) | ||||
| 						) | ||||
| 					) | ||||
| @@ -98,7 +98,7 @@ module.exports = function(rssi){ | ||||
| 									Promise.all(articles.map(art=> | ||||
| 										this.bot.telegram.sendMessage(entry.chat,article_to_mess(art),{"parse_mode":"Markdown"}) | ||||
| 									)).then(rr=> | ||||
| 										db.set_v(entry.chat,parseInt(articles.pop().guid)) | ||||
| 										(articles.length == 0) || db.set_v(entry.chat,parseInt(articles.pop().guid)) | ||||
| 									) | ||||
| 								) | ||||
| 							) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user