You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			27 lines
		
	
	
		
			575 B
		
	
	
	
		
			JavaScript
		
	
			
		
		
	
	
			27 lines
		
	
	
		
			575 B
		
	
	
	
		
			JavaScript
		
	
| /* global Whisper */
 | |
| 
 | |
| // eslint-disable-next-line func-names
 | |
| (function() {
 | |
|   'use strict';
 | |
| 
 | |
|   window.Whisper = window.Whisper || {};
 | |
| 
 | |
|   Whisper.SessionConversationView = Whisper.View.extend({
 | |
|     initialize(options) {
 | |
|       this.props = {
 | |
|         ...options,
 | |
|       };
 | |
|     },
 | |
| 
 | |
|     render() {
 | |
|       this.conversationView = new Whisper.ReactWrapperView({
 | |
|         className: 'session-conversation-wrapper',
 | |
|         Component: window.Signal.Components.SessionConversation,
 | |
|         props: this.props,
 | |
|       });
 | |
| 
 | |
|       this.$el.prepend(this.conversationView.el);
 | |
|     },
 | |
|   });
 | |
| })();
 |