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:
parent
12d969cdfd
commit
653fc148d3
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue