Chats doesn't report if locale is not set directly
Note: I've updated this description and title based on a more limited-scope issue related to user feedback when this issue occurs, not fixing the locale issue itself (which is fixed)
Problem
I created a new mobile contact in Gnome Contacts that had the area code but did not have the US +1 country code. This contact showed up in Chatty to start a new chat however clicking on this contact in Chatty did not start a new chat. Nothing happened. To fix the issue I had to go to Contacts and add the +1 to the phone number. Then it worked.
This was due to an underlying locale issue that has since been fixed, however Chats should give the user some kind of feedback when they attempt to chat w/ a contact and Chats doesn't open a chat dialogue due to a missing country code (or bad locale issue).
Expected Behavior
Chatty allows you to start a new SMS chat with a contact that has a mobile number. When it is missing information that would allow that, it should prompt the user to let them know what is wrong.
To Reproduce
- Use
dpkg-reconfigure locales
to set the phone locale to None - Create new contact in Contacts with a mobile number without Country Code.
- Open Chatty, attempt to start new chat with this contact.
Temporary Workaround
- Edit Contact and add +CountryCode to mobile number