0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-10 12:01:15 +01:00

ircd:Ⓜ️:fetch: Only check signature for v1 events.

This commit is contained in:
Jason Volk 2019-09-14 14:21:01 -07:00
parent 12d969cdfd
commit 653fc148d3

View file

@ -894,7 +894,8 @@ ircd::m::fetch::_check_event(const request &request,
};
}
if(check_signature)
// only check signature for v1 events
if(check_signature && request.opts.event_id.version() == "1")
{
const string_view &server
{