Skip to content

Commit

Permalink
Merge pull request #120 from 0x2142/dev
Browse files Browse the repository at this point in the history
Release v0.3.4
  • Loading branch information
0x2142 authored Aug 15, 2024
2 parents 5ffbb07 + 028dc4b commit f892c80
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## [v0.3.4](https://github.com/0x2142/frigate-notify/releases/tag/v0.3.4) - Aug 15 2024
- Fixed issue where `unzoned: drop` config would drop all notifications

## [v0.3.3](https://github.com/0x2142/frigate-notify/releases/tag/v0.3.3) - Aug 14 2024
- Additional filtering options for alerts:
- [Sublabels](https://frigate-notify.0x2142.com/latest/config/file/#sublabels)
Expand Down
1 change: 1 addition & 0 deletions events/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func CheckForEvents() {
Msgf("Event start time: %s", eventTime)

// Check that event passes configured filters
event.CurrentZones = event.Zones
if !checkEventFilters(event) {
return
}
Expand Down
2 changes: 1 addition & 1 deletion events/filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func checkEventFilters(event models.Event) bool {
return false
}
// Check Zone filter
if !isAllowedZone(event.ID, event.Zones) {
if !isAllowedZone(event.ID, event.CurrentZones) {
return false
}
// Check Label filter
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/0x2142/frigate-notify/util"
)

var APP_VER = "v0.3.3"
var APP_VER = "v0.3.4"
var debug, debugenv bool
var jsonlog, jsonlogenv bool
var nocolor, nocolorenv bool
Expand Down

0 comments on commit f892c80

Please sign in to comment.