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

ircd:Ⓜ️:room: Adjust expectations for fetching event after index seek.

This commit is contained in:
Jason Volk 2018-04-12 14:10:45 -07:00
parent 0a1a35fdf4
commit a628f88206

View file

@ -540,8 +540,7 @@ const
event_id event_id
}; };
if(event.valid(event_id)) closure(event);
closure(event);
}}); }});
} }
@ -586,11 +585,10 @@ const
{ {
const event::fetch event const event::fetch event
{ {
event_id, std::nothrow event_id
}; };
if(event.valid(event_id)) closure(event);
closure(event);
}}); }});
} }