mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-22 07:08:20 +00:00
🔖 Update to v1.2.16
This commit is contained in:
parent
d215e293f8
commit
8f16c8574c
@ -15,7 +15,7 @@ from pyrogram import Client
|
|||||||
|
|
||||||
from pyromod.listen.temp_fix import temp_fix
|
from pyromod.listen.temp_fix import temp_fix
|
||||||
|
|
||||||
pgm_version = "1.2.15"
|
pgm_version = "1.2.16"
|
||||||
CMD_LIST = {}
|
CMD_LIST = {}
|
||||||
module_dir = __path__[0]
|
module_dir = __path__[0]
|
||||||
working_dir = getcwd()
|
working_dir = getcwd()
|
||||||
|
@ -11,7 +11,8 @@ async def temp_fix(
|
|||||||
):
|
):
|
||||||
parsed = await pyrogram.types.Message.old_parse(client, message, users, chats, is_scheduled, replies) # noqa
|
parsed = await pyrogram.types.Message.old_parse(client, message, users, chats, is_scheduled, replies) # noqa
|
||||||
if isinstance(message, pyrogram.raw.types.Message) and message.reply_to \
|
if isinstance(message, pyrogram.raw.types.Message) and message.reply_to \
|
||||||
and message.reply_to.forum_topic and not message.reply_to.reply_to_top_id:
|
and hasattr(message.reply_to, "forum_topic") and message.reply_to.forum_topic \
|
||||||
|
and not message.reply_to.reply_to_top_id:
|
||||||
parsed.reply_to_top_message_id = parsed.reply_to_message_id
|
parsed.reply_to_top_message_id = parsed.reply_to_message_id
|
||||||
parsed.reply_to_message_id = None
|
parsed.reply_to_message_id = None
|
||||||
parsed.reply_to_message = None
|
parsed.reply_to_message = None
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
pyrogram==2.0.60
|
pyrogram==2.0.61
|
||||||
TgCrypto==1.2.5
|
TgCrypto==1.2.5
|
||||||
Pillow>=8.4.0
|
Pillow>=8.4.0
|
||||||
pytz>=2021.3
|
pytz>=2021.3
|
||||||
@ -9,4 +9,4 @@ httpx
|
|||||||
apscheduler
|
apscheduler
|
||||||
sqlitedict
|
sqlitedict
|
||||||
casbin==1.17.4
|
casbin==1.17.4
|
||||||
sentry-sdk>=1.10.1
|
sentry-sdk==1.11.0
|
||||||
|
Loading…
Reference in New Issue
Block a user