Bladeren bron

消息体添加昵称字段

779513719 4 jaren geleden
bovenliggende
commit
ddef10a756
1 gewijzigde bestanden met toevoegingen van 0 en 1 verwijderingen
  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());
 		if (user != null){
-			chatBody.setAvatar(user.getAvatar());
 			chatBody.setNick(user.getNick());
 		}
 		ImPacket chatPacket = new ImPacket(Command.COMMAND_CHAT_REQ,new RespBody(Command.COMMAND_CHAT_REQ,chatBody).toByte());