Skip to content

Commit

Permalink
try to kick ratings into action when auto-tags are applied
Browse files Browse the repository at this point in the history
  • Loading branch information
Giraffaman committed Mar 20, 2024
1 parent 2aeed9f commit 44f1181
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/auto_tagger/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
}

Expand Down

0 comments on commit 44f1181

Please sign in to comment.