Skip to content

Commit

Permalink
fixed copy_message(s) (UsergeTeam#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishna-Singhal authored Jan 10, 2021
1 parent 4fdc814 commit aafed69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions userge/core/types/new/channel_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ async def fwd_msg(self,
try:
# pylint: disable=protected-access
if as_copy:
await message._client.copy_message(chat_id=self._id,
from_chat_id=message.chat.id,
message_id=message.message_id)
await message._client.copy_messages(chat_id=self._id,
from_chat_id=message.chat.id,
message_id=message.message_id)
else:
await message._client.forward_messages(chat_id=self._id,
from_chat_id=message.chat.id,
Expand Down

0 comments on commit aafed69

Please sign in to comment.