diff --git a/ee/presencedetection/presencedetection.go b/ee/presencedetection/presencedetection.go index 8b645892f..3cbfe6665 100644 --- a/ee/presencedetection/presencedetection.go +++ b/ee/presencedetection/presencedetection.go @@ -33,7 +33,7 @@ func (d *detector) Detect(reason string) (bool, error) { // DetectPresence checks if the user is present by detecting the presence of a user. // It returns the duration since the last detection. func (pd *PresenceDetector) DetectPresence(reason string, detectionInterval time.Duration) (time.Duration, error) { - // using try lock here because we don't don't want presence detections to queue up, + // using try lock here because we don't want presence detections to queue up, // in the event that the users presses cancel, if the request were queued up, it would // request the presence detection again if !pd.mutex.TryLock() {