From 13ece2616dc4e1b1b95235c62ff5436f02fba06b Mon Sep 17 00:00:00 2001 From: stom79 Date: Mon, 7 Jan 2019 14:08:29 +0100 Subject: [PATCH] Fix notifications update --- .../etalab/mastodon/fragments/DisplayNotificationsFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/fr/gouv/etalab/mastodon/fragments/DisplayNotificationsFragment.java b/app/src/main/java/fr/gouv/etalab/mastodon/fragments/DisplayNotificationsFragment.java index 8b531d576..e07bbac16 100644 --- a/app/src/main/java/fr/gouv/etalab/mastodon/fragments/DisplayNotificationsFragment.java +++ b/app/src/main/java/fr/gouv/etalab/mastodon/fragments/DisplayNotificationsFragment.java @@ -273,6 +273,7 @@ public class DisplayNotificationsFragment extends Fragment implements OnRetrieve return; //Store last notification id to avoid to notify for those that have been already seen if (visible && notifications != null && notifications.size() > 0) { + retrieveMissingNotifications(notifications.get(0).getId()); updateNotificationLastId(notifications.get(0).getId()); } }