summaryrefslogtreecommitdiff
path: root/src/feeds.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-11-27 18:12:35 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-11-27 18:12:35 +0200
commitfb3d35b60463d3e96dca2712eb26e99d85ea1968 (patch)
tree4b1d31c345c49e9c3fac752b1c229958e8cae2a9 /src/feeds.c
parenta7a069ddaa827ad373b4b283e979a23e931f9433 (diff)
Autoupdate feeds after subscribing to the first one
Diffstat (limited to 'src/feeds.c')
-rw-r--r--src/feeds.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/feeds.c b/src/feeds.c
index 9fe6314c..47adb150 100644
--- a/src/feeds.c
+++ b/src/feeds.c
@@ -504,6 +504,10 @@ const iPtrArray *listEntries_Feeds(void) {
504 return list; 504 return list;
505} 505}
506 506
507size_t numSubscribed_Feeds(void) {
508 return size_PtrArray(listSubscriptions_());
509}
510
507#define iPluralS(c) ((c) != 1 ? "s" : "") 511#define iPluralS(c) ((c) != 1 ? "s" : "")
508 512
509const iString *entryListPage_Feeds(void) { 513const iString *entryListPage_Feeds(void) {