bsimjoo / Telegram-RSS-Bot

A telegram bot for sending latest feed of a site or weblog to all users
GNU General Public License v3.0
8 stars 10 forks source link

Un-handled users block #13

Closed github-actions[bot] closed 3 years ago

github-actions[bot] commented 3 years ago

Un-handled users block

it seems that a user had blocked bot and bot tried to send him message.

https://github.com/bsimjoo/Telegram-RSS-Bot/blob/7e95616b07b57d50d25e849e5ff00ce95b980646/main.py#L970


            return None

    def send_feed(self, feed, messages, msg_header, chat_ids):
        #TODO:Un-handled users block
        # it seems that a user had blocked bot and bot tried to send him message.
        # labels: bug
        if len(messages) != 0:
            if messages[-1]['markup']:
                messages[-1]['markup'].append(

cccdd92e0edf4f6782a37bd54023d19e76f3ff8e

github-actions[bot] commented 3 years ago

Closed in 7a92bb01ddde427af8b4cdd138b78e8afdfd7b6b