mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 14:43:51 +01:00
Add the create_profile method back since the tests use it
This commit is contained in:
parent
0c13d45522
commit
41e4b2efea
1 changed files with 6 additions and 0 deletions
|
@ -17,6 +17,12 @@ from ._base import SQLBaseStore
|
|||
|
||||
|
||||
class ProfileStore(SQLBaseStore):
|
||||
def create_profile(self, user_localpart):
|
||||
return self._simple_insert(
|
||||
table="profiles",
|
||||
values={"user_id": user_localpart},
|
||||
desc="create_profile",
|
||||
)
|
||||
|
||||
def get_profile_displayname(self, user_localpart):
|
||||
return self._simple_select_one_onecol(
|
||||
|
|
Loading…
Reference in a new issue