Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit e846463

Browse files
committed
Add null check around since conversion for NextCloud
1 parent b5e0165 commit e846463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/backend/owncloud/OwncloudNewsInterface.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ public class FeedReader.OwncloudNewsInterface : FeedServerInterface {
438438

439439
if(count == -1)
440440
{
441-
m_api.getNewArticles(articles, (int)since.to_unix(), type, id);
441+
m_api.getNewArticles(articles, since != null ? (int)since.to_unix() : 0, type, id);
442442
}
443443
else
444444
{

0 commit comments

Comments
 (0)