summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstom79 <tschneider.ac@gmail.com>2019-01-07 14:08:29 +0100
committerstom79 <tschneider.ac@gmail.com>2019-01-07 14:08:29 +0100
commit13ece2616dc4e1b1b95235c62ff5436f02fba06b (patch)
treeb9fda5a2b24a0b80dba57920d704591bf28969a7
parentdc6909ddee4eeb09cafb7bcdb99672a42d87019e (diff)
Fix notifications update
-rw-r--r--app/src/main/java/fr/gouv/etalab/mastodon/fragments/DisplayNotificationsFragment.java1
1 files changed, 1 insertions, 0 deletions
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());
}
}