diff options
Diffstat (limited to 'users/models')
-rw-r--r-- | users/models/inbox_message.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/users/models/inbox_message.py b/users/models/inbox_message.py index 079c572..0bf6851 100644 --- a/users/models/inbox_message.py +++ b/users/models/inbox_message.py @@ -79,6 +79,12 @@ class InboxMessageStates(StateGraph): raise ValueError( f"Cannot handle activity of type delete.{unknown}" ) + case "add": + # We are ignoring these right now (probably pinned items) + pass + case "remove": + # We are ignoring these right now (probably pinned items) + pass case unknown: raise ValueError(f"Cannot handle activity of type {unknown}") return cls.processed |