Make logged_in and has_full_access async functions instead of properties
This commit is contained in:
@@ -49,7 +49,6 @@ class Puppet:
|
||||
self._db_instance = db_instance
|
||||
|
||||
self.intent = self.az.intent.user(self.mxid)
|
||||
self.logged_in = True
|
||||
|
||||
self.cache[id] = self
|
||||
|
||||
@@ -57,6 +56,9 @@ class Puppet:
|
||||
def tgid(self):
|
||||
return self.id
|
||||
|
||||
async def is_logged_in(self):
|
||||
return True
|
||||
|
||||
@property
|
||||
def db_instance(self):
|
||||
if not self._db_instance:
|
||||
|
||||
Reference in New Issue
Block a user