Initialise array

This commit is contained in:
Brendan Abolivier 2017-07-25 17:11:28 +01:00
parent 0bb1995f4f
commit 588be60d66
No known key found for this signature in database
GPG key ID: 8EF1500759F70623

View file

@ -81,6 +81,7 @@ func (s *accountDataStatements) selectAccountData(localpart string) (
return
}
global = []gomatrixserverlib.ClientEvent{}
rooms = make(map[string][]gomatrixserverlib.ClientEvent)
for rows.Next() {