mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 14:31:11 +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,7 +540,6 @@ const
|
||||||
event_id
|
event_id
|
||||||
};
|
};
|
||||||
|
|
||||||
if(event.valid(event_id))
|
|
||||||
closure(event);
|
closure(event);
|
||||||
}});
|
}});
|
||||||
}
|
}
|
||||||
|
@ -586,10 +585,9 @@ 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