diff --git a/roomserver/internal/input/input.go b/roomserver/internal/input/input.go index a1bb63a1..69cc0ca1 100644 --- a/roomserver/internal/input/input.go +++ b/roomserver/internal/input/input.go @@ -102,7 +102,6 @@ func (r *Inputer) InputRoomEvents( tasks := make([]*inputTask, len(request.InputRoomEvents)) for i := range request.InputRoomEvents { - wg.Add(1) tasks[i] = &inputTask{ ctx: context.Background(), event: &request.InputRoomEvents[i],