Skip to content

Commit

Permalink
fix messsage edit
Browse files Browse the repository at this point in the history
  • Loading branch information
illvart committed Oct 7, 2023
1 parent fd101a4 commit 7caca51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions getter/core/patched/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ async def eor(
link_preview=link_preview,
**args,
)
if self.fwd_from or not self.out or not self._client:
return None
except MessageIdInvalidError: # keep functions running
return None
except MessageNotModifiedError:
Expand Down

0 comments on commit 7caca51

Please sign in to comment.