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:
parent
0a1a35fdf4
commit
a628f88206
1 changed files with 3 additions and 5 deletions
|
@ -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);
|
|
||||||
}});
|
}});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue