about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-05-24 21:32:53 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-24 14:32:53 +0200
commitf937cad68f5343d114475cf870df2cd25895a7db (patch)
tree256d9623059e15367039c105bed078c119fa51c4 /app/lib
parentbe83d450eb2d109967f8e92bb3e01225517719d5 (diff)
Skip formatting for cashtag in status text (#3275)
Resolve #3270
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/extractor.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/lib/extractor.rb b/app/lib/extractor.rb
index c582b5e4d..957364293 100644
--- a/app/lib/extractor.rb
+++ b/app/lib/extractor.rb
@@ -56,4 +56,8 @@ module Extractor
     tags.each { |tag| yield tag[:hashtag], tag[:indices].first, tag[:indices].last } if block_given?
     tags
   end
+
+  def extract_cashtags_with_indices(_text)
+    [] # always returns empty array
+  end
 end