From e67dd064db5aacc47c98aff8523e772f70226d52 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Fri, 8 Jan 2021 15:08:40 +0800 Subject: [PATCH] minor fix --- rssbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rssbot.py b/rssbot.py index 31e828e..97e23d1 100644 --- a/rssbot.py +++ b/rssbot.py @@ -505,7 +505,7 @@ class messageHandle(Thread): for i in self._botCommandPara: if search(r'^[\+-]?[0-9]+$', i) is not None: targetChatId = int(i) - if targetChatId == self._chatId: + if targetChatId == self._chatId and self._data['chat']['type'] == 'private': try: rssList = self._main._db.getRSSListByChatId(self._chatId) di['text'] = '列表如下:'