Remove original emoji after conversion
This commit is contained in:
parent
304d6ad150
commit
270148db97
|
@ -450,6 +450,10 @@ function pleroma_add_emoji {
|
||||||
--msgbox $"Unable to convert empji image to png format" 6 60
|
--msgbox $"Unable to convert empji image to png format" 6 60
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# remove the original
|
||||||
|
rm $image_filename
|
||||||
|
|
||||||
image_extension='png'
|
image_extension='png'
|
||||||
image_filename=$PLEROMA_DIR/custom_emoji/${shortcode}.${image_extension}
|
image_filename=$PLEROMA_DIR/custom_emoji/${shortcode}.${image_extension}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue