From cd5c7315ce05f221a7ae7a520d0e19c6b4671fee Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 14 Nov 2021 20:42:27 +0000 Subject: [PATCH] Emoji reaction notifications --- scripts/epicyon-notification | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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