Initial support for creating portals without any authenticated users

This commit is contained in:
Tulir Asokan
2018-02-22 21:12:35 +02:00
parent 232ec6ee42
commit 7c54436dff
5 changed files with 68 additions and 12 deletions
+2
View File
@@ -88,6 +88,8 @@ class AbstractUser:
return self.logged_in and self.whitelisted
async def start(self):
if not self.client:
self._init_client()
self.connected = await self.client.connect()
async def ensure_started(self, even_if_no_session=False):