mirror of
https://github.com/matrix-construct/construct
synced 2025-01-22 12:30:00 +01:00
modules: Rename cross_signing types out of device namespace.
This commit is contained in:
parent
5a06c0066e
commit
8eb4de920c
4 changed files with 11 additions and 11 deletions
|
@ -85,7 +85,7 @@ ircd::m::post_keys_device_signing_upload(client &client,
|
|||
const auto master_id
|
||||
{
|
||||
msk?
|
||||
send(room, request.user_id, "ircd.device.signing.master", "", msk):
|
||||
send(room, request.user_id, "ircd.cross_signing.master", "", msk):
|
||||
event::id::buf{}
|
||||
};
|
||||
|
||||
|
@ -97,7 +97,7 @@ ircd::m::post_keys_device_signing_upload(client &client,
|
|||
const auto self_signing_id
|
||||
{
|
||||
ssk?
|
||||
send(room, request.user_id, "ircd.device.signing.self", "", ssk):
|
||||
send(room, request.user_id, "ircd.cross_signing.self", "", ssk):
|
||||
event::id::buf{}
|
||||
};
|
||||
|
||||
|
@ -109,7 +109,7 @@ ircd::m::post_keys_device_signing_upload(client &client,
|
|||
const auto user_signing_id
|
||||
{
|
||||
usk?
|
||||
send(room, request.user_id, "ircd.device.signing.user", "", usk):
|
||||
send(room, request.user_id, "ircd.cross_signing.user", "", usk):
|
||||
event::id::buf{}
|
||||
};
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ get__user_devices(client &client,
|
|||
|
||||
const auto master_event_idx
|
||||
{
|
||||
user_room.get(std::nothrow, "ircd.device.signing.master", "")
|
||||
user_room.get(std::nothrow, "ircd.cross_signing.master", "")
|
||||
};
|
||||
|
||||
m::get(std::nothrow, master_event_idx, "content", [&response]
|
||||
|
@ -98,7 +98,7 @@ get__user_devices(client &client,
|
|||
|
||||
const auto self_event_idx
|
||||
{
|
||||
user_room.get(std::nothrow, "ircd.device.signing.self", "")
|
||||
user_room.get(std::nothrow, "ircd.cross_signing.self", "")
|
||||
};
|
||||
|
||||
m::get(std::nothrow, self_event_idx, "content", [&response]
|
||||
|
@ -114,7 +114,7 @@ get__user_devices(client &client,
|
|||
{
|
||||
const auto user_event_idx
|
||||
{
|
||||
user_room.get(std::nothrow, "ircd.device.signing.user", "")
|
||||
user_room.get(std::nothrow, "ircd.cross_signing.user", "")
|
||||
};
|
||||
|
||||
m::get(std::nothrow, user_event_idx, "content", [&response]
|
||||
|
|
|
@ -162,7 +162,7 @@ _query_master_keys(client &client,
|
|||
|
||||
const auto event_idx
|
||||
{
|
||||
room.get(std::nothrow, "ircd.device.signing.master", "")
|
||||
room.get(std::nothrow, "ircd.cross_signing.master", "")
|
||||
};
|
||||
|
||||
m::get(std::nothrow, event_idx, "content", [&response_keys, &user_id]
|
||||
|
@ -205,7 +205,7 @@ _query_self_keys(client &client,
|
|||
|
||||
const auto event_idx
|
||||
{
|
||||
room.get(std::nothrow, "ircd.device.signing.self", "")
|
||||
room.get(std::nothrow, "ircd.cross_signing.self", "")
|
||||
};
|
||||
|
||||
m::get(std::nothrow, event_idx, "content", [&response_keys, &user_id]
|
||||
|
@ -248,7 +248,7 @@ _query_user_keys(client &client,
|
|||
|
||||
const auto event_idx
|
||||
{
|
||||
room.get(std::nothrow, "ircd.device.signing.user", "")
|
||||
room.get(std::nothrow, "ircd.cross_signing.user", "")
|
||||
};
|
||||
|
||||
m::get(std::nothrow, event_idx, "content", [&response_keys, &user_id]
|
||||
|
|
|
@ -80,7 +80,7 @@ try
|
|||
const auto master_id
|
||||
{
|
||||
msk?
|
||||
send(room, user_id, "ircd.device.signing.master", "", msk):
|
||||
send(room, user_id, "ircd.cross_signing.master", "", msk):
|
||||
m::event::id::buf{}
|
||||
};
|
||||
|
||||
|
@ -92,7 +92,7 @@ try
|
|||
const auto self_id
|
||||
{
|
||||
ssk?
|
||||
send(room, user_id, "ircd.device.signing.self", "", ssk):
|
||||
send(room, user_id, "ircd.cross_signing.self", "", ssk):
|
||||
m::event::id::buf{}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue