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: update()
and get_invitees()
.
What needs to be resolved:
-
pressing Return does not work if nothing was pressed before (e.g. ArrowDown) -
pressing Up/Down does not work all the time -
add helping placeholders