mirror of
https://github.com/matrix-construct/construct
synced 2024-10-01 05:08:59 +02:00
modules/client/events: Prevent seek of event_idx for EDU's.
This commit is contained in:
parent
9e10ddcc61
commit
4353034027
1 changed files with 3 additions and 1 deletions
|
@ -218,7 +218,9 @@ get__events(client &client,
|
|||
|
||||
const auto &event_idx
|
||||
{
|
||||
m::index(event_)
|
||||
event_.event_id?
|
||||
m::index(event_):
|
||||
0UL
|
||||
};
|
||||
|
||||
const auto &room_depth
|
||||
|
|
Loading…
Reference in a new issue