diff options
author | Starfall <us@starfall.systems> | 2021-02-08 15:01:01 -0600 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2021-02-08 15:01:01 -0600 |
commit | 3693000bf6a94219e3cc4a29a6cb4ac51b78cf2a (patch) | |
tree | 5e0a9757d315ca3aafe4db1ce10d3c4d84769408 /config/initializers/twitter_regex.rb | |
parent | ab4c09a7041050e4aa4b8333484e311f26a36b4a (diff) | |
parent | 4ed9576cd28abc033a094fed6babe9825014f1af (diff) |
Merge remote-tracking branch 'glitchsoc/main' into main
Diffstat (limited to 'config/initializers/twitter_regex.rb')
-rw-r--r-- | config/initializers/twitter_regex.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/twitter_regex.rb b/config/initializers/twitter_regex.rb index 7f99a0005..aca85dd43 100644 --- a/config/initializers/twitter_regex.rb +++ b/config/initializers/twitter_regex.rb @@ -75,7 +75,7 @@ module Twitter # XMPP or magnet URIs an empty array will be returned. # # If a block is given then it will be called for each XMPP URI. - def extract_extra_uris_with_indices(text, options = {}) # :yields: uri, start, end + def extract_extra_uris_with_indices(text, _options = {}) # :yields: uri, start, end return [] unless text && text.index(":") urls = [] |