Skip to content

Commit

Permalink
Handle "high" priority
Browse files Browse the repository at this point in the history
  • Loading branch information
brs-brs authored and TingPing committed Jul 29, 2024
1 parent 5bfbd9b commit 5caa26d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/fdonotification.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ urgency_from_priority (const char *priority)
return 0;
else if (strcmp (priority, "normal") == 0)
return 1;
else
else if (strcmp (priority, "high") == 0)
return 1;
else // critical
return 2;
}

Expand Down

0 comments on commit 5caa26d

Please sign in to comment.