File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed 
services/static-webserver/client/source/class/osparc/study Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -199,8 +199,14 @@ qx.Class.define("osparc.study.Conversation", {
199199      } ) ; 
200200      addMessages . addListener ( "messageAdded" ,  e  =>  { 
201201        const  data  =  e . getData ( ) ; 
202-         if  ( data [ "conversationId" ] )  { 
203-           this . setConversationId ( data [ "conversationId" ] ) ; 
202+         if  ( data [ "conversationId" ]  &&  this . getConversation ( )  ===  null )  { 
203+           osparc . store . ConversationsProject . getInstance ( ) . getConversation ( this . __studyData [ "uuid" ] ,  data [ "conversationId" ] ) 
204+             . then ( conversationData  =>  { 
205+               const  conversation  =  new  osparc . data . model . Conversation ( conversationData ) ; 
206+               this . setConversation ( conversation ) ; 
207+             } ) ; 
208+         }  else  { 
209+           this . getConversation ( ) . addMessage ( data ) ; 
204210          this . addMessage ( data ) ; 
205211        } 
206212      } ) ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments