瀏覽代碼

消息体添加昵称字段

779513719 4 年之前
父節點
當前提交
ddef10a756
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      jim-server/src/main/java/org/jim/server/command/handler/ChatReqHandler.java

+ 0 - 1
jim-server/src/main/java/org/jim/server/command/handler/ChatReqHandler.java

@@ -72,7 +72,6 @@ public class ChatReqHandler extends AbstractCmdHandler {
 		}
 		}
 		User user = ImAio.getUser(chatBody.getFrom());
 		User user = ImAio.getUser(chatBody.getFrom());
 		if (user != null){
 		if (user != null){
-			chatBody.setAvatar(user.getAvatar());
 			chatBody.setNick(user.getNick());
 			chatBody.setNick(user.getNick());
 		}
 		}
 		ImPacket chatPacket = new ImPacket(Command.COMMAND_CHAT_REQ,new RespBody(Command.COMMAND_CHAT_REQ,chatBody).toByte());
 		ImPacket chatPacket = new ImPacket(Command.COMMAND_CHAT_REQ,new RespBody(Command.COMMAND_CHAT_REQ,chatBody).toByte());