Notifcations not marked as seen because of wrong id in maxId
When clicking "Read" in the notification panel Pleroma-FE makes an request to /api/qvitter/statuses/notifications/read.json
which returns 200 and a list of all notifications. But as soon as I reload the page all recent notifications are marked as new again because is_seen has not been set for them.
Upon further investigation I found that the "latest_id" which is sent to the API endpoint is lower than the most recent notification shown. It seems that the maxId
field does not get properly updated and thus notifications newer than that won’t be marked as seen.
If you have further ideas on how to debug this I’m happy to help.
(I’m running current develop branch of pleroma/pleroma-fe pleroma@ddab8d45)
Edited by buckket