diff options
Diffstat (limited to 'roomserver/internal/perform_join.go')
-rw-r--r-- | roomserver/internal/perform_join.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/roomserver/internal/perform_join.go b/roomserver/internal/perform_join.go index c5480a5b..73ea008d 100644 --- a/roomserver/internal/perform_join.go +++ b/roomserver/internal/perform_join.go @@ -189,12 +189,12 @@ func (r *RoomserverInternalAPI) performJoinRoomByID( // but everyone has since left. I suspect it does the wrong thing. buildRes := api.QueryLatestEventsAndStateResponse{} event, err := eventutil.BuildEvent( - ctx, // the request context - &eb, // the template join event - r.Cfg, // the server configuration - time.Now(), // the event timestamp to use - r, // the roomserver API to use - &buildRes, // the query response + ctx, // the request context + &eb, // the template join event + r.Cfg.Matrix, // the server configuration + time.Now(), // the event timestamp to use + r, // the roomserver API to use + &buildRes, // the query response ) switch err { |