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
diff options
context:
space:
mode:
authorJacopo <beschi.jacopo@gmail.com>2019-07-20 12:06:19 +0300
committerJacopo <beschi.jacopo@gmail.com>2019-07-29 22:51:16 +0300
commit6613a57772ee14b121b790ab8048523d1c0430ce (patch)
treea65537100c2c2a8cf8cf03f0fb51a7c57164ed63 /lib/gitlab/zoom_link_extractor.rb
parent0d1adc9f7f990254fd88ba03011908cc4f83461d (diff)
Add system notes for when a zoom call was added/removed from an issue
Add a zoom link added / removed system note when a zoom link is being added / removed to the issue description.
Diffstat (limited to 'lib/gitlab/zoom_link_extractor.rb')
-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