diff options
author | Julien Dessaux | 2020-08-14 11:22:10 +0200 |
---|---|---|
committer | Julien Dessaux | 2020-08-14 11:22:10 +0200 |
commit | 0327cba62d6e32d47a249ef10dd56baa421b6f8a (patch) | |
tree | c014dd2900374eb4ef033f870cdb2f5a53a0fc43 /maar | |
parent | Removed useless type (diff) | |
download | rocket-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.c | 2 |
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(); |