0
0
Fork 0
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:
Jason Volk 2022-08-27 13:05:44 -07:00
parent 966ef2ca95
commit 239f2fe17c

View file

@ -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?