Hash from federation entity now contains the correct data-type

This commit is contained in:
Benjamin Neff 2017-04-25 01:39:52 +02:00
parent 189c223224
commit 5e2d063c49
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -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