mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-26 15:08:28 +00:00
Initialise the map
This commit is contained in:
parent
6f8adc7b40
commit
9ad7d8cd58
1 changed files with 9 additions and 8 deletions
|
@ -102,14 +102,15 @@ func Send(
|
||||||
mu *internal.MutexByRoom,
|
mu *internal.MutexByRoom,
|
||||||
) util.JSONResponse {
|
) util.JSONResponse {
|
||||||
t := txnReq{
|
t := txnReq{
|
||||||
rsAPI: rsAPI,
|
rsAPI: rsAPI,
|
||||||
eduAPI: eduAPI,
|
eduAPI: eduAPI,
|
||||||
keys: keys,
|
keys: keys,
|
||||||
federation: federation,
|
federation: federation,
|
||||||
haveEvents: make(map[string]*gomatrixserverlib.HeaderedEvent),
|
haveEvents: make(map[string]*gomatrixserverlib.HeaderedEvent),
|
||||||
newEvents: make(map[string]bool),
|
invalidEvents: make(map[string]struct{}),
|
||||||
keyAPI: keyAPI,
|
newEvents: make(map[string]bool),
|
||||||
roomsMu: mu,
|
keyAPI: keyAPI,
|
||||||
|
roomsMu: mu,
|
||||||
}
|
}
|
||||||
|
|
||||||
var txnEvents struct {
|
var txnEvents struct {
|
||||||
|
|
Loading…
Reference in a new issue