diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-27 18:12:35 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-27 18:12:35 +0200 |
commit | fb3d35b60463d3e96dca2712eb26e99d85ea1968 (patch) | |
tree | 4b1d31c345c49e9c3fac752b1c229958e8cae2a9 /src/feeds.c | |
parent | a7a069ddaa827ad373b4b283e979a23e931f9433 (diff) |
Autoupdate feeds after subscribing to the first one
Diffstat (limited to 'src/feeds.c')
-rw-r--r-- | src/feeds.c | 4 |
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 | ||
507 | size_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 | ||
509 | const iString *entryListPage_Feeds(void) { | 513 | const iString *entryListPage_Feeds(void) { |