Hash from federation entity now contains the correct data-type
This commit is contained in:
parent
189c223224
commit
5e2d063c49
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class Retraction
|
|||
|
||||
def public?
|
||||
# TODO: backward compatibility for pre 0.6 pods, they don't relay public retractions
|
||||
data[:target][:public] == "true" && (!data[:target][:parent] || data[:target][:parent][:local] == "true")
|
||||
data[:target][:public] == true && (!data[:target][:parent] || data[:target][:parent][:local] == true)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
|||
Loading…
Reference in a new issue