0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-26 18:38:52 +02: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,
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