yDelouis / selfoss-android

Android application for Selfoss
MIT License
41 stars 9 forks source link

Marking items as 'read' in app, doesn't mark them 'read' in webinterface. #41

Closed ghost closed 9 years ago

ghost commented 9 years ago

Like the title says, when I mark all items as read on my phone and then go to the web interface, it still shows all those items in the 'unread' section.

yDelouis commented 9 years ago

Hi, Items are marked read locally (on the phone) and during the next synchronisation, they will be marked read on the server. The next synchronisation will occur when you quit the app (with the back button) or when you pull the list down. Could you try to pull down the list after marking some items as read to see if there is really a bug ?

ghost commented 9 years ago

yes you are right !

I think it would be more effecient though, if you'd just call the 'mark all as read' URL, then clear the list. This would fix #37 too

yDelouis commented 9 years ago

I want to only the downloaded and displayed items to be marked as read. If I call the mark all as read URL and there is some new items on the server, they will be marked as read but not seen by the user. That's why I use this system and there is only one call to the server so it is efficient too.