Commit 67a787ff authored by Tulir Asokan's avatar Tulir Asokan

Create portals as direct chats

parent 85022e68
Pipeline #329 passed with stages
in 1 minute and 11 seconds
......@@ -133,6 +133,7 @@ class Portal(BasePortal):
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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment