diff --git a/scripts/epicyon-notification b/scripts/epicyon-notification index d764e4771..a802b48f4 100755 --- a/scripts/epicyon-notification +++ b/scripts/epicyon-notification @@ -209,14 +209,14 @@ function notifications { if [[ "$epicyonLikeFileContent" == *':'* ]]; then epicyonLikeMessage="Epicyon: $epicyonLikeFileContent" fi - sendNotification "$USERNAME" "Epicyon" "$epicyonLikeMessage" + sendNotification "$USERNAME" "Epicyon" "$epicyonLikeMessage" echo "##sent##" > "$epicyonLikeFile" chown ${PROJECT_NAME}:${PROJECT_NAME} "$epicyonLikeFile" fi fi # send notifications for emoji reactions to XMPP/email users - epicyonLikeFile="$epicyonDir/.newReaction" + epicyonReactionFile="$epicyonDir/.newReaction" if [ -f "$epicyonReactionFile" ]; then if ! grep -q "##sent##" "$epicyonReactionFile"; then epicyonReactionMessage=$(notification_translate_text 'Reaction by') @@ -224,7 +224,7 @@ function notifications { if [[ "$epicyonReactionFileContent" == *':'* ]]; then epicyonReactionMessage="Epicyon: $epicyonReactionFileContent" fi - sendNotification "$USERNAME" "Epicyon" "$epicyonReactionMessage" + sendNotification "$USERNAME" "Epicyon" "$epicyonReactionMessage" echo "##sent##" > "$epicyonReactionFile" chown ${PROJECT_NAME}:${PROJECT_NAME} "$epicyonReactionFile" fi