Bug 57604 - Handle passwords in MUC invites
Summary: Handle passwords in MUC invites
Status: NEW
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-27 11:01 UTC by Will Thompson
Modified: 2012-11-27 11:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Will Thompson 2012-11-27 11:01:57 UTC
MUC invites can contain the password required to join the room <http://xmpp.org/extensions/xep-0045.html#invite>. Right now Gabble ignores them completely.

For starters, Gabble should pull the password out of invitations it receives, and then use it when joining the channel if the user accepts the invitation.

When inviting people to rooms, we use mediated invitations (sent by the server) which is supposed to fill in the password for us, so we don't have to worry about that. If we were ever to send direct invitations <http://xmpp.org/extensions/xep-0249.html> we would have to worry about this again.

To let the UI/user know the password for future use, it could do worse than set <http://telepathy.freedesktop.org/spec/Channel_Interface_Room_Config.html#Property:Password> to the password. (There's no space in LocalPendingInfo to store the password along with the invitation, but hey.)


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.