Skip to content

Commit

Permalink
Fix blocking users unblocking them
Browse files Browse the repository at this point in the history
  • Loading branch information
Gobot1234 committed Jan 6, 2024
1 parent 83c7f60 commit c92500c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions steam/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,10 +823,10 @@ async def _block_user(self, user_id64: ID64, block: bool) -> None:
raise WSException(msg)

async def block_user(self, user_id64: ID64) -> None:
await self._block_user(user_id64, True)
await self._block_user(user_id64, False)

async def unblock_user(self, user_id64: ID64) -> None:
await self._block_user(user_id64, False)
await self._block_user(user_id64, True)

async def fetch_user_inventory(
self, user_id64: ID64, app_id: AppID, context_id: ContextID, language: Language | None
Expand Down

0 comments on commit c92500c

Please sign in to comment.