Register a user account for the AS when the AS registers. Add 'sender' column to AS table.

This commit is contained in:
Kegan Dougal 2015-02-09 12:03:37 +00:00
parent 73a680b2a8
commit ac3183caaa
5 changed files with 14 additions and 4 deletions

View file

@ -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(