Fixed loading of avatar.
This commit is contained in:
parent
29a28d838c
commit
d3eb5873ac
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ returns
|
||||||
hash = Digest::MD5.hexdigest( response.body )
|
hash = Digest::MD5.hexdigest( response.body )
|
||||||
|
|
||||||
# check if image has changed
|
# check if image has changed
|
||||||
return if self.image != hash
|
return if self.image == hash
|
||||||
|
|
||||||
# save new image
|
# save new image
|
||||||
self.update_column( :image, hash )
|
self.update_column( :image, hash )
|
||||||
|
|
Loading…
Reference in a new issue