summaryrefslogtreecommitdiffstats
path: root/users/models
diff options
context:
space:
mode:
Diffstat (limited to 'users/models')
-rw-r--r--users/models/follow.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/models/follow.py b/users/models/follow.py
index d2ee493..e741c56 100644
--- a/users/models/follow.py
+++ b/users/models/follow.py
@@ -24,6 +24,10 @@ class FollowStates(StateGraph):
undone.transitions_to(undone_remotely)
@classmethod
+ def group_active(cls):
+ return [cls.unrequested, cls.local_requested, cls.accepted]
+
+ @classmethod
async def handle_unrequested(cls, instance: "Follow"):
"""
Follows that are unrequested need us to deliver the Follow object