Using the conversation read date to check for new messages will retrieve the same message multiple times if the last read date is older than when the new message arrives. Instead us the last message we have retrieved as the date to check for new messages from.
* Align the button and checkbox in the settings menu
* Also set the pointer type.
As an input field is used, the default cursor will be the caret, it should be the pointer instead as it's really a checkbox.
First a contact that uses just the first initial would become "squished" instead of being round.
Second the "Please choose a conversation on the left menu" text would overlap itself if it wrapped around to a second line.
The checkNewMessages method was using an old regex phone number formatter and not returning the phone numbers in a formated fashion back to the client side.
* Fix deleting converstatoins with a contact
If a conversation does not have a contact, the delete function will fail as only the formatted phone number is passed in and the raw sms phone number is needed to execute the delete.
* Convert the caller info to a sticky header
* Add webkit-sticky property.
* Converted spaces to tab.
* Fix converstation window height and margin.
WIth the sticky header we no longer need to set a margin and the height should be auto for short conversation.
* Fix the initial display of a conversation
Loop up the contact details if the page has been passed in a phone number as a url parameter on initial page load.
* Add locale and libphonenumber libraries.
* Update country code information
Updated existing country codes, fixed incorrect NANP codes for member countries (as well as several UK based ones).
Also added in Country Name to ISO country code mapping array for use with libphonenumber.
* Convert phone number formatting to use libphonenumber
libphonenumber parses phone number more consistantly than the old regex's that mismatched number on a regular basis.