fix: 文件消息类型回显时新增空格
This commit is contained in:
@@ -9,7 +9,6 @@ import com.hula.core.chat.domain.vo.request.contact.ContactNotificationReq;
|
||||
import com.hula.core.chat.domain.vo.request.contact.ContactShieldReq;
|
||||
import com.hula.core.chat.domain.vo.request.contact.ContactTopReq;
|
||||
import com.hula.core.chat.domain.vo.response.ChatRoomResp;
|
||||
import com.hula.core.chat.service.ChatService;
|
||||
import com.hula.core.chat.service.RoomAppService;
|
||||
import com.hula.domain.vo.res.ApiResult;
|
||||
import com.hula.utils.RequestHolder;
|
||||
@@ -33,8 +32,6 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
@Tag(name = "聊天室相关接口")
|
||||
@Slf4j
|
||||
public class ContactController {
|
||||
@Resource
|
||||
private ChatService chatService;
|
||||
@Resource
|
||||
private RoomAppService roomService;
|
||||
|
||||
|
||||
@@ -366,9 +366,5 @@ public class ChatServiceImpl implements ChatService {
|
||||
|
||||
return chatMessageResp;
|
||||
}
|
||||
//
|
||||
// public String getUserName(Boolean isGroup, ) {
|
||||
//
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
@@ -50,6 +50,6 @@ public class FileMsgHandler extends AbstractMsgHandler<FileMsgDTO> {
|
||||
|
||||
@Override
|
||||
public String showContactMsg(Message msg) {
|
||||
return "[文件]" + msg.getExtra().getFileMsg().getFileName();
|
||||
return "[文件] " + msg.getExtra().getFileMsg().getFileName();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
version: 2.6.12
|
||||
version: 2.6.13
|
||||
HuLa-IM:
|
||||
HOST: 127.0.0.1 #域名
|
||||
MYSQL_PORT: 3306 #端口
|
||||
|
||||
Reference in New Issue
Block a user