mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:56:02 -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
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue