Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jangernert/FeedReader.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Long <self@brendanlong.com>2019-05-29 04:27:48 +0300
committerBrendan Long <self@brendanlong.com>2019-05-29 04:27:48 +0300
commite846463c80c449a9ba346a6f346da9fb008d2c7c (patch)
treed6a6196fe21eff22e0935979e6716552323cfa5e
parentb5e016590db36c6a198c05e6b2ad2fb09f16f3c4 (diff)
Add null check around since conversion for NextCloud
-rw-r--r--plugins/backend/owncloud/OwncloudNewsInterface.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/backend/owncloud/OwncloudNewsInterface.vala b/plugins/backend/owncloud/OwncloudNewsInterface.vala
index a4958eb1..82f9a7c4 100644
--- a/plugins/backend/owncloud/OwncloudNewsInterface.vala
+++ b/plugins/backend/owncloud/OwncloudNewsInterface.vala
@@ -438,7 +438,7 @@ public class FeedReader.OwncloudNewsInterface : FeedServerInterface {
if(count == -1)
{
- m_api.getNewArticles(articles, (int)since.to_unix(), type, id);
+ m_api.getNewArticles(articles, since != null ? (int)since.to_unix() : 0, type, id);
}
else
{