add ctx to interfaces (#105)

* add ctx to interfaces

* use existing context
This commit is contained in:
David Colburn
2021-08-30 20:31:24 -05:00
committed by GitHub
parent 1e10d440c8
commit 1f1eea383f
17 changed files with 321 additions and 267 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ func TestWebhooks(t *testing.T) {
ts.ClearEvents()
// room closed
rm := server.RoomManager().GetRoom(testRoom)
rm := server.RoomManager().GetRoom(context.Background(), testRoom)
rm.Close()
testutils.WithTimeout(t, "webhook events room_finished", func() bool {
if ts.GetEvent(webhook.EventRoomFinished) == nil {