diff --git a/internal/caching/cache_federationevents.go b/internal/caching/cache_federationevents.go index 26f81e950..71aa247ab 100644 --- a/internal/caching/cache_federationevents.go +++ b/internal/caching/cache_federationevents.go @@ -33,10 +33,10 @@ func (c Caches) GetFederationEvent(eventNID int64) (*gomatrixserverlib.HeaderedE func (c Caches) StoreFederationEvent(eventNID int64, event *gomatrixserverlib.HeaderedEvent) { key := fmt.Sprintf("%d", eventNID) - c.ServerKeys.Set(key, event) + c.FederationEvents.Set(key, event) } func (c Caches) EvictFederationEvent(eventNID int64) { key := fmt.Sprintf("%d", eventNID) - c.ServerKeys.Unset(key) + c.FederationEvents.Unset(key) }