aboutsummaryrefslogtreecommitdiff
path: root/maar
diff options
context:
space:
mode:
authorJulien Dessaux2020-08-14 11:22:10 +0200
committerJulien Dessaux2020-08-14 11:22:10 +0200
commit0327cba62d6e32d47a249ef10dd56baa421b6f8a (patch)
treec014dd2900374eb4ef033f870cdb2f5a53a0fc43 /maar
parentRemoved useless type (diff)
downloadrocket-cli-client-0327cba62d6e32d47a249ef10dd56baa421b6f8a.tar.gz
rocket-cli-client-0327cba62d6e32d47a249ef10dd56baa421b6f8a.tar.bz2
rocket-cli-client-0327cba62d6e32d47a249ef10dd56baa421b6f8a.zip
Handle the alert flag in subscriptions
Diffstat (limited to 'maar')
-rw-r--r--maar/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/maar/main.c b/maar/main.c
index dc93a86..ee13907 100644
--- a/maar/main.c
+++ b/maar/main.c
@@ -11,7 +11,7 @@
void maar_subscription(const struct subscription* subscription)
{
- if (subscription->unread >0) {
+ if (subscription->unread >0 || subscription->alert) {
printf("%s\n", subscription->name);
liveapi_mark_read(subscription->rid);
liveapi_step();