mirror of
https://github.com/matrix-construct/construct
synced 2024-06-09 13:38:55 +02:00
modules/m_signing_key_update: Ignore updates from unknown users w/o error.
This commit is contained in:
parent
966ef2ca95
commit
239f2fe17c
|
@ -66,6 +66,17 @@ try
|
||||||
user_id
|
user_id
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if(!exists(room))
|
||||||
|
{
|
||||||
|
log::derror
|
||||||
|
{
|
||||||
|
m::log, "Refusing signing key update for unknown %s",
|
||||||
|
json::get<"user_id"_>(update),
|
||||||
|
};
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const auto master_id
|
const auto master_id
|
||||||
{
|
{
|
||||||
msk?
|
msk?
|
||||||
|
|
Loading…
Reference in a new issue