diff --git a/ttyverse.pl b/ttyverse.pl index b361c07..dec4051 100755 --- a/ttyverse.pl +++ b/ttyverse.pl @@ -1408,7 +1408,7 @@ $dmmarkread = 1 if (!defined $dmmarkread); # Default to enabled $notificationpause = 6 if (!defined $notificationpause); # NOT ||= ... zero is a VALID value! $notificationpause = 0 if ($anonymous); $notificationpause = 0 if ($pause eq '0'); -$notifies ||= 'boost,favourite,favorite,poll'; # Default notification types for sound alerts (both spellings) +$notifies ||= 'boost,favourite,favorite'; # Default notification types for sound alerts (both spellings) $ansi = ($noansi) ? 0 : (($ansi || $ENV{'TERM'} eq 'ansi' || $ENV{'TERM'} eq 'xterm-color') ? 1 : 0); @@ -6623,7 +6623,6 @@ sub notifications_tdisplay { $sound_class = 'boost' if ($type eq 'reblog'); $sound_class = 'favourite' if ($type eq 'favourite' || $type eq 'favorite'); $sound_class = 'follow' if ($type eq 'follow'); - $sound_class = 'poll' if ($type eq 'poll'); # Process as individual post with proper class &$handle($notification, $sound_class); @@ -7162,7 +7161,6 @@ sub notificationrefresh { $sound_class = 'boost' if ($type eq 'reblog'); $sound_class = 'favourite' if ($type eq 'favourite' || $type eq 'favorite'); $sound_class = 'follow' if ($type eq 'follow'); - $sound_class = 'poll' if ($type eq 'poll'); # Always debug notification types to help troubleshoot print $stdout "-- DEBUG: Received notification type='$type', mapped to sound_class='$sound_class'\n" if ($verbose || $type eq 'favourite');