Skip to content
Snippets Groups Projects
Commit 270148db authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove original emoji after conversion

parent 304d6ad1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment