diff options
author | Erik Johnston <erik@matrix.org> | 2019-02-18 17:19:01 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-02-18 17:19:01 +0000 |
commit | 4cc4400b4deabed113548b296656d0e6e404dbde (patch) | |
tree | 7db316baf58eb30a6aa0da3cc61f0d1c3c019285 /synapse/app | |
parent | Move register_device into handler (diff) | |
download | synapse-4cc4400b4deabed113548b296656d0e6e404dbde.tar.xz |
Split /login into client_reader
Diffstat (limited to 'synapse/app')
-rw-r--r-- | synapse/app/client_reader.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/app/client_reader.py b/synapse/app/client_reader.py index 9250b6c239..043b48f8f3 100644 --- a/synapse/app/client_reader.py +++ b/synapse/app/client_reader.py @@ -40,6 +40,7 @@ from synapse.replication.slave.storage.registration import SlavedRegistrationSto from synapse.replication.slave.storage.room import RoomStore from synapse.replication.slave.storage.transactions import SlavedTransactionStore from synapse.replication.tcp.client import ReplicationClientHandler +from synapse.rest.client.v1.login import LoginRestServlet from synapse.rest.client.v1.room import ( JoinedRoomMemberListRestServlet, PublicRoomListRestServlet, @@ -94,6 +95,7 @@ class ClientReaderServer(HomeServer): RoomStateRestServlet(self).register(resource) RoomEventContextServlet(self).register(resource) RegisterRestServlet(self).register(resource) + LoginRestServlet(self).register(resource) resources.update({ "/_matrix/client/r0": resource, |