0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-29 00:44:17 +01:00

ircd:Ⓜ️ Fix m::events regression relying on event::fetch::row.

This commit is contained in:
Jason Volk 2019-01-26 13:38:46 -08:00
parent 80b3cd678e
commit e20d71a28a

View file

@ -1612,10 +1612,6 @@ ircd::m::events::for_each(const range &range,
range.fopts? *range.fopts : event::fetch::default_opts
};
// When the fopts dictate no columns to fetch there is nothing more to do.
if(event.row.empty())
return true;
const bool ascending
{
range.first < range.second