GNOME Bugzilla – Bug 698530
adding contact to group does not cause them to leave Ungrouped until Empathy restart
Last modified: 2013-08-13 15:37:30 UTC
Adding a contact to a group does not cause them to disappear from Ungrouped until you kill and restart Empathy (not Telepathy).
Created attachment 249020 [details] [review] Contact should leave 'Ungrouped' group immediately upon first joining a group
Review of attachment 249020 [details] [review]: ::: libempathy-gtk/empathy-roster-view.c @@ +356,3 @@ + if (tp_strdiff (group, NO_GROUP) && + tp_strdiff (group, EMPATHY_ROSTER_MODEL_GROUP_UNGROUPED) && + g_hash_table_size (contacts) == 2) This last check isn't very clear. Can't we remove it and rely on remove_from_group being noop if the contact is not in the "no group" group?
The first group here is the "Ungrouped" group from which we have to remove this individual. The second group is the first group we have just added this individual to. I have inlined a comment.
Created attachment 249707 [details] [review] Contact should leave 'Ungrouped' group immediately upon first joining a group
Review of attachment 249707 [details] [review]: ++
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.