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/appservice | |
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/appservice')
-rw-r--r-- | synapse/appservice/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/appservice/__init__.py b/synapse/appservice/__init__.py index 46d46a5a48..fb9bfffe5d 100644 --- a/synapse/appservice/__init__.py +++ b/synapse/appservice/__init__.py @@ -35,10 +35,11 @@ class ApplicationService(object): NS_LIST = [NS_USERS, NS_ALIASES, NS_ROOMS] def __init__(self, token, url=None, namespaces=None, hs_token=None, - txn_id=None): + sender=None, txn_id=None): self.token = token self.url = url self.hs_token = hs_token + self.sender = sender self.namespaces = self._check_namespaces(namespaces) self.txn_id = txn_id |