I'm trying to set geolocation optional to send coords when sending a message, but I don't know how. I suppose I'll have to check the permissions to see if the user has allowed geolocation, but I don't know how to do it (right now, if the user doesn't allow the app to check it's location, it cannot send a message)