Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
illvart committed May 30, 2024
1 parent b2a630b commit 36ecd66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions getter/plugins/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ async def _(kst):
ga = kst.client
count = 0
yy = await kst.eor("`Processing...`")
async for x in ga.iter_dialogs():
async for x in ga.iter_dialogs(ignore_pinned=True):
if x.is_user and not x.entity.bot:
if x.id in DEVS:
if x.is_self or x.id in DEVS:
continue
try:
await ga.delete_dialog(x.id, revoke=True)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ emoji==2.12.1
Unidecode==1.3.8
validators==0.28.3
telegraph==2.2.0
requests==2.32.2
requests==2.32.3
lottie==0.7.0
Pillow==10.3.0
CairoSVG==2.7.1
Expand Down

0 comments on commit 36ecd66

Please sign in to comment.