PenguinPaul/google-voice-java

Bug with SMSParser

Closed this issue · 1 comments

I noticed that the SMSParser doesn't pick up SMS messages that are in the same 
clock-minute and same thread as another SMS. This is because the compareTo 
method for the SMS class is solely dependent on the message's time-stamp, thus 
messages with the same time-stamp in a thread are considered duplicates when 
added to Collections and are as result not added. A simple fix would be to 
alter the compareTo method in the SMS class to also consider the SMS's content 
and from contact.

I just wanted to point that small bug out. The API has been very helpful, 
thanks.

Original issue reported on code.google.com by chrismeg...@gmail.com on 26 Dec 2010 at 4:19

Check out the latest commits, these should have an updated compareTo

Original comment by liquid...@gmail.com on 6 Jan 2011 at 2:44

  • Changed state: Fixed