Remove original emoji after conversion

This commit is contained in:
Bob Mottram 2017-11-11 11:33:36 +00:00
parent 304d6ad150
commit 270148db97
1 changed files with 4 additions and 0 deletions

View File

@ -450,6 +450,10 @@ function pleroma_add_emoji {
--msgbox $"Unable to convert empji image to png format" 6 60
return
fi
# remove the original
rm $image_filename
image_extension='png'
image_filename=$PLEROMA_DIR/custom_emoji/${shortcode}.${image_extension}
fi