Fix account_id, max_id and min_id params not working in search (#26847)
This commit is contained in:
1 parent
e9b528eaee
commit
3a679844e4
5 files changed
+52
-7
No files matched your search
@@ -104,6 +104,10 @@ module Mastodon::Snowflake
|
||||
id
|
||||
end
|
||||
|
||||
def to_time(id)
|
||||
Time.at((id >> 16) / 1000).utc
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def already_defined?
|
||||
|
||||
Reference in new issue
Block a user