0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

modules/client/rooms/join: Minor modernizations.

This commit is contained in:
Jason Volk 2019-08-25 18:28:53 -07:00
parent 875b03fa1e
commit 2fdbaa88a4

View file

@ -10,22 +10,21 @@
#include "rooms.h" #include "rooms.h"
using namespace ircd::m;
using namespace ircd; using namespace ircd;
resource::response resource::response
post__join(client &client, post__join(client &client,
const resource::request &request, const resource::request &request,
const room::id &room_id) const m::room::id &room_id)
{ {
const string_view &third_party_signed const json::string &third_party_signed
{ {
unquote(request["third_party_signed"]) request["third_party_signed"]
}; };
const string_view &server_name const json::string &server_name
{ {
unquote(request["server_name"]) request["server_name"]
}; };
const m::room room const m::room room