GNOME Bugzilla – Bug 666531
Invite IRC contacts to join room broken
Last modified: 2012-01-06 09:36:50 UTC
IRC room invite seems broken with master.
That's because of bug #666580
Created attachment 204695 [details] [review] contact-chooser: keep a ref on the TpContact we requested Kinda hacky but that's the best we can do without major changes in Folks.
Review of attachment 204695 [details] [review]: Looks good to me. However, what happens if the FolksIndividual returned by empathy_contact_chooser_dup_selected() outlives the EmpathyContactChooser? Either a ref needs to be held on the TpContact in that situation, or a note needs to be made that the FolksIndividual is only guaranteed to survive as long as the EmpathyContactChooser.
You're right good catch. The existing code is fine but I added a comment explaining that. Merging, thanks for the review.
Attachment 204695 [details] pushed as 0c03c67 - contact-chooser: keep a ref on the TpContact we requested