WIP: Groupchat: Add invite page
This adds an invite menu item to group chat controls and introduces a new invite page.
Users can click contacts on the left side to move them to the 'Invitees' list on the right side. Alternatively, contacts can be selected with Up/Down and added with Return. Pressing 'Invite' will send an invite to all contacts listed in the 'Invitees' list. The contact list excludes your own JID and JIDs of all participants (they are already joined, no need to invite them).
This invite page features a new
GroupChatInvite widget which may be used in other places (
ChatToMUC for example). Methods included:
What needs to be resolved:
- pressing Return does not work in all cases
- pressing Up/Down does not work all the time
- I'd like to select the relevant GUI elements by pressing Tab, so I imagine switching between these four elements: contact list, invitees list, Invite button, Cancel button (Cancel button may be excluded since Esc works as well)