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:
parent
875b03fa1e
commit
2fdbaa88a4
1 changed files with 5 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue