diff --git a/src/freedombone-app-pleroma b/src/freedombone-app-pleroma index 557623bc..6db951b9 100755 --- a/src/freedombone-app-pleroma +++ b/src/freedombone-app-pleroma @@ -463,9 +463,9 @@ function pleroma_add_emoji { fi if ! grep -q "${shortcode}," $image_filename; then - echo "${shortcode}, ${image_filename}" >> $PLEROMA_DIR/config/emoji.txt + echo "${shortcode}, /custom_emoji/${shortcode}.${image_extension}" >> $PLEROMA_DIR/config/emoji.txt else - sed -i "s|${shortcode},.*|${shortcode}, ${image_filename}|g" $PLEROMA_DIR/config/emoji.txt + sed -i "s|${shortcode},.*|${shortcode}, /custom_emoji/${shortcode}.${image_extension}|g" $PLEROMA_DIR/config/emoji.txt fi chown -R pleroma:pleroma $PLEROMA_DIR