mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-05 21:23:10 -06:00
Fix bug with admitting events into cache
This commit is contained in:
parent
07ce5b185f
commit
fb3e1df89f
|
|
@ -493,7 +493,7 @@ func (d *Database) events(
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if result.Event != nil {
|
||||
if event != nil {
|
||||
d.Cache.StoreRoomServerEvent(eventJSON.EventNID, event)
|
||||
}
|
||||
result.Event = event
|
||||
|
|
|
|||
Loading…
Reference in a new issue