mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:06:05 -04:00
Register a user account for the AS when the AS registers. Add 'sender' column to AS table.
This commit is contained in:
parent
73a680b2a8
commit
ac3183caaa
5 changed files with 14 additions and 4 deletions
|
@ -130,8 +130,9 @@ class ApplicationServiceStore(SQLBaseStore):
|
|||
return False
|
||||
|
||||
txn.execute(
|
||||
"UPDATE application_services SET url=?, hs_token=? WHERE id=?",
|
||||
(service.url, service.hs_token, as_id,)
|
||||
"UPDATE application_services SET url=?, hs_token=?, sender=? "
|
||||
"WHERE id=?",
|
||||
(service.url, service.hs_token, service.sender, as_id,)
|
||||
)
|
||||
# cleanup regex
|
||||
txn.execute(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue