|
|
@@ -67,10 +67,13 @@ public class ConversationService {
|
|
|
.sndId(sndId)
|
|
|
.resSndType(snd.getType())
|
|
|
.build();
|
|
|
+ conversationRepo.save(conversationFrom);
|
|
|
+ }else{
|
|
|
+ conversationFrom.setOrgId(snd.getOrgId());
|
|
|
+ conversationFrom.setContact(contact);
|
|
|
+ conversationRepo.save(conversationFrom);
|
|
|
}
|
|
|
- conversationFrom.setOrgId(snd.getOrgId());
|
|
|
- conversationFrom.setContact(contact);
|
|
|
- conversationRepo.save(conversationFrom);
|
|
|
+
|
|
|
|
|
|
//-------------------------------
|
|
|
|