Use the correct property name for typing duration
This commit is contained in:
		
							parent
							
								
									95e7987fee
								
							
						
					
					
						commit
						d5013dd7ea
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -175,7 +175,7 @@ async function redactEvent(roomID, eventID, mxid) {
 | 
				
			||||||
async function sendTyping(roomID, isTyping, mxid, duration) {
 | 
					async function sendTyping(roomID, isTyping, mxid, duration) {
 | 
				
			||||||
	await mreq.mreq("PUT", path(`/client/v3/rooms/${roomID}/typing/${mxid}`, mxid), {
 | 
						await mreq.mreq("PUT", path(`/client/v3/rooms/${roomID}/typing/${mxid}`, mxid), {
 | 
				
			||||||
		typing: isTyping,
 | 
							typing: isTyping,
 | 
				
			||||||
		duration
 | 
							timeout: duration
 | 
				
			||||||
	})
 | 
						})
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue