Skip to content
This repository was archived by the owner on Jul 8, 2021. It is now read-only.

Commit

Permalink
Create portals as direct chats
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Nov 7, 2019
1 parent 85022e6 commit 67a787f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mautrix_twilio/portal.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ async def _create_matrix_room(self) -> RoomID:
self.mxid = await self.main_intent.create_room(name=puppet.displayname,
invitees=[self.az.bot_mxid,
*self.invite_users],
is_direct=True,
creation_content=creation_content,
initial_state=list(initial_state.values()))
if not self.mxid:
Expand Down

0 comments on commit 67a787f

Please sign in to comment.