# HG changeset patch # User nikita@nikita-lab # Date 1243004136 -7200 # Node ID 6be326cfb62154e83265d03437be0b79d5b215c5 # Parent dbc0c467c3e62f041c1cbe1a15c105e0223ce396 debug dans l'update de contact diff -r dbc0c467c3e6 -r 6be326cfb621 src/com/beem/project/beem/ui/ContactList.java --- a/src/com/beem/project/beem/ui/ContactList.java Fri May 22 16:45:49 2009 +0200 +++ b/src/com/beem/project/beem/ui/ContactList.java Fri May 22 16:55:36 2009 +0200 @@ -7,10 +7,8 @@ import org.jivesoftware.smack.util.StringUtils; -import android.app.AlertDialog; -import android.app.Dialog; + import android.app.ExpandableListActivity; -import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.database.DataSetObserver; @@ -31,7 +29,6 @@ import android.widget.ExpandableListAdapter; import android.widget.ImageView; import android.widget.TextView; -import android.widget.Toast; import com.beem.project.beem.BeemApplication; import com.beem.project.beem.R; @@ -472,7 +469,7 @@ } else { boolean found = false; for (Contact tempContact:groupMap.get(group)) { - if (tempContact.getJID() == str) { + if (tempContact.getJID().equals(str)) { curContact = tempContact; found = true; break ;