diff options
author | Kegan Dougal <kegan@matrix.org> | 2015-02-09 12:03:37 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2015-02-09 12:03:37 +0000 |
commit | ac3183caaa66b750996d90c0ac9ed430f623909c (patch) | |
tree | 3cddc8ef5230ac7e206fd0aa0d308feffae79f10 /synapse/storage/appservice.py | |
parent | Add errcodes for appservice registrations. (diff) | |
download | synapse-ac3183caaa66b750996d90c0ac9ed430f623909c.tar.xz |
Register a user account for the AS when the AS registers. Add 'sender' column to AS table.
Diffstat (limited to 'synapse/storage/appservice.py')
-rw-r--r-- | synapse/storage/appservice.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/storage/appservice.py b/synapse/storage/appservice.py index 3c8bf9ad0d..eef77e737e 100644 --- a/synapse/storage/appservice.py +++ b/synapse/storage/appservice.py @@ -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( |