Fixed issue with Tags timeline

• Fixed:
- issue with Tags timeline and incorrect number of arguments due to removal of "local" attribute
This commit is contained in:
mgabdev
2020-06-11 15:33:56 -04:00
parent 6f5bd998db
commit eb89d552ce
3 changed files with 4 additions and 4 deletions

View File

@@ -3,13 +3,13 @@
class HashtagQueryService < BaseService
LIMIT_PER_MODE = 1
def call(tag, params, account = nil, local = true)
def call(tag, params, account = nil)
tags = tags_for(Array(tag.name) | Array(params[:any])).pluck(:id)
all = tags_for(params[:all])
none = tags_for(params[:none])
Status.distinct
.as_tag_timeline(tags, account, local)
.as_tag_timeline(tags, account)
.tagged_with_all(all)
.tagged_with_none(none)
end