mirror of
https://github.com/matrix-construct/construct
synced 2024-09-27 19:28:52 +02:00
modules/m_signing_key_update: Ignore updates from unknown users w/o error.
This commit is contained in:
parent
966ef2ca95
commit
239f2fe17c
1 changed files with 11 additions and 0 deletions
|
@ -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