Fix user instantiation bug #3

Open
hnarjis wants to merge 5 commits from hnarjis/matrix-appservice-kakaotalk:user-instantiation-fix into master
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 86c038fd2f - Show all commits

View File

@ -224,7 +224,7 @@ class User(DBUser, BaseUser):
if create:
cls.log.debug(f"Creating user instance for {mxid}")
user = cls(mxid)
user = cls(mxid, False, False)
await user.insert()
user._add_to_cache()
return user