Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
Co-Authored-By: ImSafone <97733579+ImSafone@users.noreply.github.com>
  • Loading branch information
AsmSafone and ImSafone committed Jul 12, 2024
1 parent 9713edf commit fa60416
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ thanks to the translators.

## 🚀 <a name="deploy"></a>Deploy

[![Deploy on Heroku](https://www.herokucdn.com/deploy/button.svg)](https://deploy.safone.tech)
[![Deploy on Heroku](https://www.herokucdn.com/deploy/button.svg)](https://deploy.safone.dev)

Note: `First Fork The Repo Then Click On Deploy To Heroku Button!`

Expand Down
5 changes: 4 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,10 @@ async def stream_end(_, update: Update, lang):
pass
await set_title(chat_id, "", client=app)
set_group(chat_id, is_playing=False, now_playing=None)
await pytgcalls.leave_call(chat_id)
try:
await pytgcalls.leave_call(chat_id)
except (NoActiveGroupCall, GroupCallNotFound, NotInCallError):
pass


@pytgcalls.on_update(fl.chat_update(ChatUpdate.Status.LEFT_CALL))
Expand Down

0 comments on commit fa60416

Please sign in to comment.