Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rking32 authored Aug 14, 2020
1 parent fc46fcf commit fd2c07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userge/core/types/new/conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ async def _on_conversation(_, msg: RawMessage) -> None:

async def __aenter__(self) -> 'Conversation':
self._chat_id = int(self._chat) if isinstance(self._chat, int) else \
(await self._client.get_chats(self._chat)).id
(await self._client.get_chat(self._chat)).id
if self._chat_id in _CONV_DICT:
error = f"already started conversation with {self._chat_id} !"
_LOG.error(_LOG_STR, error)
Expand Down

0 comments on commit fd2c07d

Please sign in to comment.