Add option to not bridge chats with too many members

This commit is contained in:
Tulir Asokan
2022-06-22 12:05:48 +03:00
parent bac3abcb4c
commit e8eef1c31e
6 changed files with 29 additions and 2 deletions
+2
View File
@@ -193,6 +193,8 @@ class Bot(AbstractUser):
)
else:
return await reply("Portal is not public. Use `/invite <mxid>` to get an invite.")
else:
return await reply("Couldn't create portal room")
async def handle_command_invite(
self, portal: po.Portal, reply: ReplyFunc, mxid_input: UserID