Problem with some notifications

Juliano2 years ago

Why some notifications like Status Online, Offline don't show Address and Coordinates for google maps.
The variables below are not accepted. Is there any simple method to add?

#{if}($position.address)*Address:* $position.address#{end}
#{if}($position.latitude)*Location:* https://www.google.com/maps/@$position.latitude,$position.longitude,21z #{end}
Anton Tananaev2 years ago

Because some events don't have a position associated with them, like status events.

Juliano2 years ago

Could you tell me the file that I could add

Anton Tananaev2 years ago

Check the setter method on the Position class. That's where you can start the search.

Juliano2 years ago

ok, thank you