Skip to content

Commit

Permalink
contacts with endpoint only
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudkov committed Aug 29, 2024
1 parent 7b72bdb commit 728425d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# GoATAK - free ATAK/CivTAK server & client


sasdasd

This is fast & simple implementation of TAK server/CoT router and ATAK client with web interface.

- [Wiki](https://github.com/kdudkov/goatak/wiki)
Expand Down
2 changes: 1 addition & 1 deletion pkg/model/unit.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func GetClass(msg *cot.CotMessage) string {

switch {
case strings.HasPrefix(t, "a-"):
if msg.GetTeam() != "" {
if msg.GetEndpoint() != "" {
return CONTACT
} else {
return UNIT
Expand Down

0 comments on commit 728425d

Please sign in to comment.