From e52c7df498c5f52b9ba9a2ab854d6f06a9b140d7 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Tue, 22 Nov 2022 18:51:01 -0700 Subject: Add the self-view timeline event on post Makes it show up for you immediately --- activities/models/post.py | 1 + 1 file changed, 1 insertion(+) (limited to 'activities/models') diff --git a/activities/models/post.py b/activities/models/post.py index 378de91..876d422 100644 --- a/activities/models/post.py +++ b/activities/models/post.py @@ -50,6 +50,7 @@ class PostStates(StateGraph): subject_post=post, ) # And one for themselves if they're local + # (most views will do this at time of post, but it's idempotent) if post.author.local: await FanOut.objects.acreate( identity_id=post.author_id, -- cgit v1.2.3