Have /join/:room_id return the room ID in response anyway, for consistency of clients (SYN-234)

This commit is contained in:
Paul "LeoNerd" Evans 2015-01-13 17:29:24 +00:00
parent cf7e723808
commit 34a5fbe2b7

View file

@ -246,7 +246,7 @@ class JoinRoomAliasServlet(RestServlet):
}
)
defer.returnValue((200, {}))
defer.returnValue((200, {"room_id": identifier.to_string()}))
@defer.inlineCallbacks
def on_PUT(self, request, room_identifier, txn_id):