Fix temp event incorrect de-caching bug

pull/1/head
Bram van den Heuvel 2023-04-11 15:47:29 +02:00
parent 2769685c13
commit e1f12a8ae2
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ addEvents ({ events } as data) (IRoom room) =
List.member List.member
(IEvent.eventId tempEvent) (IEvent.eventId tempEvent)
(List.map IEvent.eventId events) (List.map IEvent.eventId events)
|> not
) )
room.tempEvents room.tempEvents
} }