🔖 Update to v1.3.2

This commit is contained in:
xtaodada 2023-04-18 19:33:15 +08:00
parent 480762af6d
commit 9cc6fd2b19
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
3 changed files with 8 additions and 8 deletions

View File

@ -21,8 +21,8 @@ from pagermaid.scheduler import scheduler
import pyromod.listen import pyromod.listen
from pyrogram import Client from pyrogram import Client
pgm_version = "1.3.1" pgm_version = "1.3.2"
pgm_version_code = 1301 pgm_version_code = 1302
CMD_LIST = {} CMD_LIST = {}
module_dir = __path__[0] module_dir = __path__[0]
working_dir = getcwd() working_dir = getcwd()

View File

@ -115,7 +115,7 @@ class Client:
pyrogram.raw.functions.messages.ReadDiscussion( pyrogram.raw.functions.messages.ReadDiscussion(
peer=peer, peer=peer,
msg_id=i.id, msg_id=i.id,
read_max_id=i.read_inbox_max_id + i.unread_count, read_max_id=i.top_message,
) )
) )
return await self.oldread_chat_history(chat_id, max_id) # noqa return await self.oldread_chat_history(chat_id, max_id) # noqa

View File

@ -1,18 +1,18 @@
pyrogram==2.0.103 pyrogram==2.0.103
TgCrypto==1.2.5 TgCrypto==1.2.5
Pillow>=8.4.0 Pillow>=9.0.0
pytz>=2021.3 pytz>=2023.3
PyYAML>=6.0 PyYAML>=6.0
coloredlogs>=15.0.1 coloredlogs>=15.0.1
psutil>=5.8.0 psutil>=5.8.0
httpx~=0.23.3 httpx~=0.23.3
apscheduler>=3.10.1 apscheduler>=3.10.1
sqlitedict~=2.1.0 sqlitedict~=2.1.0
casbin==1.18.1 casbin==1.18.2
sentry-sdk==1.18.0 sentry-sdk==1.19.1
PyQRCode>=1.2.1 PyQRCode>=1.2.1
PyPng PyPng
fastapi==0.94.1 fastapi==0.95.1
amis-python==1.0.7 amis-python==1.0.7
python-jose python-jose
uvicorn uvicorn