|
|
@@ -90,8 +90,12 @@ public class ConversationContentTask {
|
|
|
String from = chatMsg.getFrom();
|
|
|
//获取发送这名称
|
|
|
// System.out.println("====>"+chatMsg);
|
|
|
+ //如果是同意聊天,删除之前存储的未知名称,获取新的名称
|
|
|
+ if (chatMsg.getAction().equals("agree")){
|
|
|
+ chatMsgUserMapper.deleteByUserId(from);
|
|
|
+ }
|
|
|
+
|
|
|
Map<String, Object> map = conversationContentService.pushGetChatName(from);
|
|
|
- //
|
|
|
String chatName=map.get("name").toString();
|
|
|
String tolist = chatMsg.getTolist();
|
|
|
String roomName=null;
|