Skip to content

Commit

Permalink
change invitees to invite
Browse files Browse the repository at this point in the history
  • Loading branch information
nexy7574 committed Feb 8, 2024
1 parent b82ef02 commit fc73c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/niobot/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ async def create_dm_room(
user_id = self._get_id(user)
result = await self.room_create(
is_direct=True,
invitees=[user_id],
invite=[user_id],
)
if isinstance(result, nio.RoomCreateError):
raise GenericMatrixError("Failed to create DM room", response=result)
Expand Down

0 comments on commit fc73c66

Please sign in to comment.