Added cashtag support for statuses
• Added: - cashtag support for statuses Ref: https://github.com/tootsuite/mastodon/commit/e23931b2550e8ab48d4d6212e50d825293f5b014
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
class ProcessHashtagsService < BaseService
|
||||
def call(status, tags = [])
|
||||
tags = Extractor.extract_hashtags(status.text) if status.local?
|
||||
tags = Extractor.extract_hashtags(status.text) + Extractor.extract_cashtags(status.text) if status.local?
|
||||
records = []
|
||||
|
||||
tags.map { |str| str.mb_chars.downcase }.uniq(&:to_s).each do |name|
|
||||
|
||||
Reference in New Issue
Block a user