mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
ircd:Ⓜ️ Fix empty iteration condition.
This commit is contained in:
parent
50535e89bb
commit
e9cc354f01
1 changed files with 6 additions and 2 deletions
|
@ -111,12 +111,16 @@ ircd::m::verify(const m::keys &keys)
|
|||
|
||||
const string_view &key_id
|
||||
{
|
||||
begin(verify_keys)->first
|
||||
!empty(verify_keys)?
|
||||
begin(verify_keys)->first:
|
||||
string_view{}
|
||||
};
|
||||
|
||||
const json::object &key
|
||||
{
|
||||
begin(verify_keys)->second
|
||||
!empty(verify_keys)?
|
||||
begin(verify_keys)->second:
|
||||
string_view{}
|
||||
};
|
||||
|
||||
const ed25519::pk pk
|
||||
|
|
Loading…
Reference in a new issue