Store user portals and kick when logging out. Fixes #53

This commit is contained in:
Tulir Asokan
2018-02-13 00:58:03 +02:00
parent e42fcd2fb3
commit 2064f2b2d1
4 changed files with 90 additions and 20 deletions
+1
View File
@@ -79,6 +79,7 @@ class MatrixHandler:
pass
portal.mxid = room
portal.save()
inviter.register_portal(portal)
await puppet.intent.send_notice(room, "Portal to private chat created.")
else:
await puppet.intent.join_room(room)