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 
			
		
		
		
	added event handling back
This commit is contained in:
		@@ -1047,7 +1047,7 @@ export const Commands = [
 | 
			
		||||
        runFn: function(roomId, args) {
 | 
			
		||||
            return success((async () => {
 | 
			
		||||
                if (!args) {
 | 
			
		||||
                    args = _t("sends confetti");
 | 
			
		||||
                    args = "sends confetti";
 | 
			
		||||
                    MatrixClientPeg.get().sendEmoteMessage(roomId, args);
 | 
			
		||||
                } else {
 | 
			
		||||
                    MatrixClientPeg.get().sendTextMessage(roomId, args);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user