From 44f118103896f02db72f93a2e04c05b317bab384 Mon Sep 17 00:00:00 2001 From: Giraffaman Date: Wed, 20 Mar 2024 22:05:27 +0100 Subject: [PATCH] try to kick ratings into action when auto-tags are applied --- ext/auto_tagger/main.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/auto_tagger/main.php b/ext/auto_tagger/main.php index 66d66653a..a8b6085b7 100644 --- a/ext/auto_tagger/main.php +++ b/ext/auto_tagger/main.php @@ -146,6 +146,9 @@ public function onTagSet(TagSetEvent $event): void $results = $this->apply_auto_tags($event->new_tags); if (!empty($results)) { $event->new_tags = $results; + foreach ($event->metatags as $tag) { + send_event(new TagTermParseEvent($tag, $event->image->id)); + } } }