Bug 27291

Summary: Inviter to a muc is not member of the group
Product: Telepathy Reporter: Guillaume Desmottes <guillaume.desmottes>
Component: salutAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED NOTABUG QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
URL: http://git.collabora.co.uk/?p=user/cassidy/telepathy-salut;a=shortlog;h=refs/heads/add-inviter-27291
Whiteboard: review-
i915 platform: i915 features:

Description Guillaume Desmottes 2010-03-24 08:45:19 UTC
When receiving an invitation to a muc, the inviter (== actor) is not added as a member of the muc.

(telepathy-salut:32576): salut-DEBUG: new_connection_cb: Handling new incoming connection
(telepathy-salut:32576): salut-DEBUG: new_connection_cb: Have to wait to know the contact before announce this incoming connection
(telepathy-salut:32576): salut-DEBUG: incoming_pending_connection_stream_opened_cb: incoming pending connection with dev@cass-x200s opened. Open it too
(telepathy-salut:32576): salut-DEBUG: incoming_pending_connection_got_from: Got stream from dev@cass-x200s on pending connection
(telepathy-salut:32576): salut-DEBUG: incoming_connection_found_contact: identify incoming pending connection with dev@cass-x200s. It's now fully open
(telepathy-salut:32576): salut-DEBUG: salut_xmpp_connection_manager_take_connection: connection ref count raised 1. Remove its timer
(telepathy-salut:32576): salut-DEBUG: invite_stanza_callback: Got an invitation
(telepathy-salut:32576): salut-DEBUG: salut_muc_manager_new_muc_channel: Requested channel for handle: 1
tp_group_mixin_change_flags: emitting group flags changed
  added    : [CAN_ADD|MESSAGE_ADD|PROPERTIES]
  removed  : []
  flags now: [CAN_ADD|MESSAGE_ADD|PROPERTIES]
(telepathy-salut:32576): salut-DEBUG: salut_muc_channel_invited: Got an invitation to badger from dev@cass-x200s
emit_members_changed_signals: emitting members changed
  message       : ""
  added         : []
  removed       : []
  local_pending : [1 (dev2@cass-x200s)]
  remote_pending: []
  actor         : 2
  reason        : 4: invited


But when you are invited to a gabble muc:

emit_members_changed_signals: emitting members changed
  message       : ""
  added         : [3 (cassidy-test1@jabber.belnet.be)]
  removed       : []
  local_pending : [8 (test@conference.jabber.belnet.be/cassidy-test2@jabber.belnet.be)]
  remote_pending: []
  actor         : 3
  reason        : 4: invited
Comment 2 Guillaume Desmottes 2010-03-25 04:00:05 UTC
After discussion on #telepathy this is not the right approach.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.