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 
			
		
		
		
	checking for unreadMessages before sending confetti
throwing the confetti on the sender's side change sendHtmlMessage to sendTextMessage in slashCommands
This commit is contained in:
		@@ -1034,7 +1034,7 @@ export const Commands = [
 | 
			
		||||
                    args = _t("sends confetti");
 | 
			
		||||
                    MatrixClientPeg.get().sendEmoteMessage(roomId, args);
 | 
			
		||||
                } else {
 | 
			
		||||
                    MatrixClientPeg.get().sendHtmlMessage(roomId, args);
 | 
			
		||||
                    MatrixClientPeg.get().sendTextMessage(roomId, args);
 | 
			
		||||
                }
 | 
			
		||||
                if (!isChatEffectsDisabled) {
 | 
			
		||||
                    dis.dispatch({action: 'confetti'});
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user