0
0
Fork 0
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:
Jason Volk 2019-07-21 17:01:23 -07:00
parent b7b329a130
commit d18a1acf43

View file

@ -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