Fix user instantiation bug #3
@ -224,7 +224,7 @@ class User(DBUser, BaseUser):
|
|||||||
|
|
||||||
if create:
|
if create:
|
||||||
cls.log.debug(f"Creating user instance for {mxid}")
|
cls.log.debug(f"Creating user instance for {mxid}")
|
||||||
user = cls(mxid)
|
user = cls(mxid, False, False)
|
||||||
await user.insert()
|
await user.insert()
|
||||||
user._add_to_cache()
|
user._add_to_cache()
|
||||||
return user
|
return user
|
||||||
|
Loading…
Reference in New Issue
Block a user