mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 16:46:50 +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,
|
||||
std::nothrow_t)
|
||||
{
|
||||
const auto &event_id
|
||||
{
|
||||
m::event_id(event_idx, fetch.event_id_buf, std::nothrow)
|
||||
};
|
||||
|
||||
return seek(fetch, event_idx, event_id, std::nothrow);
|
||||
return seek(fetch, event_idx, m::event::id{}, std::nothrow);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in a new issue