You've already forked matrix-react-sdk
							
							
				mirror of
				https://github.com/matrix-org/matrix-react-sdk.git
				synced 2025-11-04 11:51:45 +03:00 
			
		
		
		
	Add warm fuzzy dialog for inviting users to a group
This commit is contained in:
		@@ -76,6 +76,13 @@ function _onGroupInviteFinished(groupId, addrs) {
 | 
			
		||||
                title: _t("Failed to invite the following users to %(groupId)s:", {groupId: groupId}),
 | 
			
		||||
                description: errorList.join(", "),
 | 
			
		||||
            });
 | 
			
		||||
        } else {
 | 
			
		||||
            const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
 | 
			
		||||
            Modal.createTrackedDialog('Group invitations sent', '', QuestionDialog, {
 | 
			
		||||
                title: _t("Invites sent"),
 | 
			
		||||
                description: _t("Your group invitations have been sent."),
 | 
			
		||||
                hasCancelButton: false,
 | 
			
		||||
            });
 | 
			
		||||
        }
 | 
			
		||||
    }).catch((err) => {
 | 
			
		||||
        const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user