add actor to rabbitmq message

This commit is contained in:
Riley Mathews
2026-04-28 00:54:51 -05:00
parent ca450a6176
commit 6e8ed03544
5 changed files with 64 additions and 4 deletions

View File

@@ -61,9 +61,10 @@ def _cleanup(path):
class HookNotificationItem:
def __init__(self, notification_item_type, path, content=None, content_type=None, uid=None, new_content=None,
old_content=None):
old_content=None, actor=None):
self.type = notification_item_type.value
self.point = _cleanup(path)
self.actor = actor
self._content_legacy = content
self.content_type = content_type
self.uid = uid