summaryrefslogtreecommitdiff
path: root/store/image.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/image.go')
-rw-r--r--store/image.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/image.go b/store/image.go
index 95b5c1d..8daae1c 100644
--- a/store/image.go
+++ b/store/image.go
@@ -315,7 +315,7 @@ func (s *Store) ImageUpdate(hash, source, parent, commentary, commentaryTranslat
info.Source = source
msg += "source"
}
- if parent != "\000" && parent != "" {
+ if parent != "\000" && parent != "" && parent != info.Snowflake {
if p := s.ImageSnowflake(parent); p.Snowflake == parent {
s.getLock(p.Hash).Lock()
defer s.getLock(p.Hash).Unlock()