From 20f39197836a4040aabd5e71a25e82ee4eabc9b1 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Thu, 8 Dec 2022 22:58:58 -0700 Subject: Add interaction states on notifications page Fixes #129 --- activities/views/timelines.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/activities/views/timelines.py b/activities/views/timelines.py index 711c357..b7a67c6 100644 --- a/activities/views/timelines.py +++ b/activities/views/timelines.py @@ -213,4 +213,8 @@ class Notifications(ListView): # Retrieve what kinds of things to show context["events"] = events context["notification_options"] = self.request.session["notification_options"] + context["interactions"] = PostInteraction.get_event_interactions( + context["page_obj"], + self.request.identity, + ) return context -- cgit v1.2.3