mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-04 00:34:10 -04:00
Add hs_token column and generate a different token f.e application service.
This commit is contained in:
parent
a1a4960baf
commit
27091f146a
7 changed files with 35 additions and 20 deletions
|
@ -61,8 +61,8 @@ class RegisterRestServlet(AppServiceRestServlet):
|
|||
|
||||
app_service = ApplicationService(as_token, as_url, namespaces)
|
||||
|
||||
yield self.handler.register(app_service)
|
||||
hs_token = "_not_implemented_yet" # TODO: Pull this from self.hs?
|
||||
app_service = yield self.handler.register(app_service)
|
||||
hs_token = app_service.hs_token
|
||||
|
||||
defer.returnValue((200, {
|
||||
"hs_token": hs_token
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue