mirror of
				https://github.com/vector-im/element-web.git
				synced 2025-10-31 08:11:16 +01:00 
			
		
		
		
	Use helper class
(It did not need imports) Co-authored-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
		
							parent
							
								
									aaf653dd8f
								
							
						
					
					
						commit
						c80cbc38dd
					
				| @ -57,7 +57,7 @@ const WidgetContextMenu: React.FC<IProps> = ({ | |||||||
|     const canModify = userWidget || WidgetUtils.canUserModifyWidgets(roomId); |     const canModify = userWidget || WidgetUtils.canUserModifyWidgets(roomId); | ||||||
| 
 | 
 | ||||||
|     let streamAudioStreamButton; |     let streamAudioStreamButton; | ||||||
|     if (getConfigLivestreamUrl() && (app.type === "m.jitsi" || app.type === "jitsi")) { |     if (getConfigLivestreamUrl() && WidgetType.JITSI.matches(app.type)) { | ||||||
|         const onStreamAudioClick = async () => { |         const onStreamAudioClick = async () => { | ||||||
|             try { |             try { | ||||||
|                 await startJitsiAudioLivestream(widgetMessaging, roomId); |                 await startJitsiAudioLivestream(widgetMessaging, roomId); | ||||||
| @ -199,4 +199,3 @@ const WidgetContextMenu: React.FC<IProps> = ({ | |||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| export default WidgetContextMenu; | export default WidgetContextMenu; | ||||||
| 
 |  | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user