Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudkov committed Feb 25, 2024
1 parent 65547f7 commit ae3d090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/goatak_server/processors.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (app *App) chatProcessor(msg *cot.CotMessage) {
}

func (app *App) saveItemProcessor(msg *cot.CotMessage) {
if cot.MatchAnyPattern(msg.GetType(), "b-t-f", "b-t-f-") {
if msg.GetLat() == 0 && msg.GetLon() == 0 && !strings.HasPrefix(msg.GetType(), "a-") {
return
}

Expand Down

0 comments on commit ae3d090

Please sign in to comment.