Implement adding rooms to the group summary
This includes making UserPickerDialog more generic such that it can also pick rooms from groups.
This commit is contained in:
parent
5940b11fd2
commit
5f840a3031
5 changed files with 131 additions and 31 deletions
|
@ -20,8 +20,8 @@ import MultiInviter from './utils/MultiInviter';
|
|||
import { _t } from './languageHandler';
|
||||
|
||||
export function showGroupInviteDialog(groupId) {
|
||||
const UserPickerDialog = sdk.getComponent("dialogs.UserPickerDialog");
|
||||
Modal.createTrackedDialog('Group Invite', '', UserPickerDialog, {
|
||||
const AddressPickerDialog = sdk.getComponent("dialogs.AddressPickerDialog");
|
||||
Modal.createTrackedDialog('Group Invite', '', AddressPickerDialog, {
|
||||
title: _t('Invite new group members'),
|
||||
description: _t("Who would you like to add to this group?"),
|
||||
placeholder: _t("Name or matrix ID"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue