Initialise the map

This commit is contained in:
Neil Alexander 2021-06-21 17:05:01 +01:00
parent 6f8adc7b40
commit 9ad7d8cd58
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -107,6 +107,7 @@ func Send(
keys: keys,
federation: federation,
haveEvents: make(map[string]*gomatrixserverlib.HeaderedEvent),
invalidEvents: make(map[string]struct{}),
newEvents: make(map[string]bool),
keyAPI: keyAPI,
roomsMu: mu,