aboutsummaryrefslogtreecommitdiff
path: root/roomserver/internal/query/query_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'roomserver/internal/query/query_test.go')
-rw-r--r--roomserver/internal/query/query_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/roomserver/internal/query/query_test.go b/roomserver/internal/query/query_test.go
index b4cb99b8..4e761d8e 100644
--- a/roomserver/internal/query/query_test.go
+++ b/roomserver/internal/query/query_test.go
@@ -26,12 +26,12 @@ import (
// used to implement RoomserverInternalAPIEventDB to test getAuthChain
type getEventDB struct {
- eventMap map[string]gomatrixserverlib.Event
+ eventMap map[string]*gomatrixserverlib.Event
}
func createEventDB() *getEventDB {
return &getEventDB{
- eventMap: make(map[string]gomatrixserverlib.Event),
+ eventMap: make(map[string]*gomatrixserverlib.Event),
}
}