What happened
When a node has a location set and sending adverts, Beacon decodes that location from the advert and stores it in the node database for that node. Fine.
When that node now sets location to the default at 0 / 0, Beacon also decodes that location (displays it in the advert), but it is not updated in the node-db.
The node still shows its old position in the analyzer.
Expected behaviour
Database gets updated to 0 / 0.
Steps to reproduce
- Send advert with location
- Change location to default
- Send advert again
What happened
When a node has a location set and sending adverts, Beacon decodes that location from the advert and stores it in the node database for that node. Fine.
When that node now sets location to the default at 0 / 0, Beacon also decodes that location (displays it in the advert), but it is not updated in the node-db.
The node still shows its old position in the analyzer.
Expected behaviour
Database gets updated to 0 / 0.
Steps to reproduce