Save the a copy of the notification marker ID locally (#3672)

Not all servers support the marker API. If they don't the user will
potentially get duplicate Android notifications.

To resolve this, store a copy of the notification marker ID locally as
well. Defer to the remote marker if it exists (and is newer than the
local marker).

Fixes https://github.com/tuskyapp/Tusky/issues/3671
This commit is contained in:
Nik Clayton 2023-05-18 23:23:42 +02:00 committed by GitHub
commit d644f6e6f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 1037 additions and 7 deletions

File diff suppressed because it is too large Load diff