diff options
author | Andrew Godwin | 2022-12-08 22:58:58 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-12-08 22:59:34 -0700 |
commit | 20f39197836a4040aabd5e71a25e82ee4eabc9b1 (patch) | |
tree | e93451d177d3ee955daf7fb8ead410b8af7e36c5 /activities/views | |
parent | 39bcd7ac0050b98ecf99eddb397fa895ee37b737 (diff) | |
download | takahe-20f39197836a4040aabd5e71a25e82ee4eabc9b1.tar.gz takahe-20f39197836a4040aabd5e71a25e82ee4eabc9b1.tar.bz2 takahe-20f39197836a4040aabd5e71a25e82ee4eabc9b1.zip |
Add interaction states on notifications page
Fixes #129
Diffstat (limited to 'activities/views')
-rw-r--r-- | activities/views/timelines.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 |