GNOME Bugzilla – Bug 710011
Fix observations of existing channels
Last modified: 2013-10-12 21:46:52 UTC
Polari currently ignore all of my already connected channels wrongly assuming I have been invited to join them.
Created attachment 257120 [details] [review] make sure to prepare TP_CHANNEL_FEATURE_CONTACTS
Created attachment 257121 [details] [review] properly check if we are invited to a room
Review of attachment 257120 [details] [review]: OK
Review of attachment 257121 [details] [review]: Style comment, feel free to ignore if you disagree. ::: src/chatroomManager.js @@ +132,3 @@ function(channel) { + if (channel.has_interface(Tp.IFACE_CHANNEL_INTERFACE_GROUP)) { + let [invited, lp, actor, reason, msg] = channel.group_get_local_pending_contact_info(channel.group_self_contact); I'd prefer let [invited, , , ,] = ... as you're not using any of the other return values.
Changed and merged to master. Attachment 257120 [details] pushed as ee26daa - make sure to prepare TP_CHANNEL_FEATURE_CONTACTS Attachment 257121 [details] pushed as 4b42726 - properly check if we are invited to a room