mirror of
https://github.com/matrix-construct/construct
synced 2024-05-18 10:53:48 +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
|
||||
};
|
||||
|
||||
if(!exists(room))
|
||||
{
|
||||
log::derror
|
||||
{
|
||||
m::log, "Refusing signing key update for unknown %s",
|
||||
json::get<"user_id"_>(update),
|
||||
};
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
const auto master_id
|
||||
{
|
||||
msk?
|
||||
|
|
Loading…
Reference in a new issue