minor fix

This commit is contained in:
2021-01-07 21:37:06 +08:00
parent a5d70d5c37
commit d7d08e2527
2 changed files with 5 additions and 0 deletions

View File

@@ -336,6 +336,8 @@ class messageHandle(Thread):
for key in ["new_chat_members", "left_chat_member", "new_chat_title", "new_chat_photo", "delete_chat_photo", "pinned_message"]:
if key in self._data:
return
if self._data['chat']['type'] == 'channel':
return
self._messageId = self._data['message_id']
self._chatId = self.__getChatId()
if self._chatId is None: