mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 06:14:51 +00:00
Pyrofork: fix topic reopen service messages parser
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
a45d7cf74a
commit
24dfde46ce
1 changed files with 1 additions and 1 deletions
|
|
@ -647,7 +647,7 @@ class Message(Object, Update):
|
|||
forum_topic_closed = types.ForumTopicClosed()
|
||||
service_type = enums.MessageServiceType.FORUM_TOPIC_CLOSED
|
||||
else:
|
||||
if hasattr(action, "hidden"):
|
||||
if hasattr(action, "hidden") and action.hidden is not None:
|
||||
general_topic_unhidden = types.GeneralTopicUnhidden()
|
||||
service_type = enums.MessageServiceType.GENERAL_TOPIC_UNHIDDEN
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue