Fix the chat history not correctly showing.

This commit is contained in:
kyoko
2022-06-12 11:37:44 +08:00
committed by Luke H-W
Unverified
parent 38107326a1
commit 80f9346983
8 changed files with 189 additions and 48 deletions
@@ -13,8 +13,10 @@ public class HandlerPullPrivateChatReq extends PacketHandler {
@Override
public void handle(GameSession session, byte[] header, byte[] payload) throws Exception {
PullPrivateChatReq req = PullPrivateChatReq.parseFrom(payload);
session.getServer().getChatManager().handlePullPrivateChatReq(session.getPlayer(), req.getTargetUid());
session.send(new PacketPullPrivateChatRsp());
// session.send(new PacketPullPrivateChatRsp(req.getTargetUid()));
}
}