Skip to content

Commit

Permalink
webuntis hash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyclenerd committed Nov 11, 2024
1 parent af7f27c commit ebcc166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webuntis.pl
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ BEGIN
# Notify via Pushover
if ($inputPushoverKey && $inputPushoverToken && $message) {
# Hash message to avoid duplicate notifications
my $messageHash = sha256_hex(encode_utf8("$date $message"));
my $messageHash = sha256_hex(encode_utf8("$message"));
my $filenameLastMessage = "/tmp/webuntis.$inputSchool.last.message.txt";
my $lastMessageHash = "";
if (-f $filenameLastMessage ) {
Expand Down

0 comments on commit ebcc166

Please sign in to comment.