Create system comments on events

This commit is contained in:
Jorge Manrubia
2025-04-29 20:30:05 +02:00
parent e03f1f7f9b
commit 4ff55df2e0
6 changed files with 79 additions and 4 deletions
+4
View File
@@ -12,6 +12,10 @@ module Comment::Eventable
end
private
def should_track_event?
!creator.system?
end
def track_creation
track_event("created", collection: card.collection)
end