Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2019-07-30 02:14:38 +0300
committerRobert Speicher <rspeicher@gmail.com>2019-07-30 02:14:38 +0300
commit2f680d64813c2e9b8c004bf44acc54ef65849e0d (patch)
tree83f95a12af9ea33fd55b2ecc939293883a5afa47 /lib
parentbdecc719cbabd51b9a67d0b1beaa7b6e49e1f92b (diff)
parent6613a57772ee14b121b790ab8048523d1c0430ce (diff)
Merge branch '63547-add-system-notes-for-when-a-zoom-call-was-added-removed-from-an-issue' into 'master'
Resolve "Add system notes for when a zoom call was added/removed from an issue" Closes #63547 See merge request gitlab-org/gitlab-ce!30857
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/zoom_link_extractor.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/zoom_link_extractor.rb b/lib/gitlab/zoom_link_extractor.rb
index d9994898a08..7ac14eb2d4f 100644
--- a/lib/gitlab/zoom_link_extractor.rb
+++ b/lib/gitlab/zoom_link_extractor.rb
@@ -17,5 +17,9 @@ module Gitlab
def links
@text.scan(ZOOM_REGEXP)
end
+
+ def match?
+ ZOOM_REGEXP.match?(@text)
+ end
end
end