mirror of
https://github.com/matrix-construct/construct
synced 2025-01-19 19:11:53 +01:00
ircd:Ⓜ️:event::fetch: Remove unnecessary event_id query in seek() stack.
This commit is contained in:
parent
b7b329a130
commit
d18a1acf43
1 changed files with 1 additions and 6 deletions
|
@ -1321,12 +1321,7 @@ ircd::m::seek(event::fetch &fetch,
|
||||||
const event::idx &event_idx,
|
const event::idx &event_idx,
|
||||||
std::nothrow_t)
|
std::nothrow_t)
|
||||||
{
|
{
|
||||||
const auto &event_id
|
return seek(fetch, event_idx, m::event::id{}, std::nothrow);
|
||||||
{
|
|
||||||
m::event_id(event_idx, fetch.event_id_buf, std::nothrow)
|
|
||||||
};
|
|
||||||
|
|
||||||
return seek(fetch, event_idx, event_id, std::nothrow);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
Loading…
Add table
Reference in a new issue