From e3628c77b787b0e82698909017ff741594898f2f Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Thu, 10 Apr 2025 18:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A5=BD=E5=8F=8B=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/game/PlayerFunc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/game/PlayerFunc.go b/src/server/game/PlayerFunc.go index 0ed1184a..a7b875ce 100644 --- a/src/server/game/PlayerFunc.go +++ b/src/server/game/PlayerFunc.go @@ -290,7 +290,7 @@ func HandleFriendMsg(p *Player, m *msg.Msg) error { FriendMod.AgreeApply(m.From) p.PushClientRes(&proto.ResFriendApplyNotify{ Player: PlayerSimpleData, - Type: friend.FRIEND_NOTIFY_APPLY, + Type: friend.FRIEND_NOTIFY_AGREE, Time: int32(GoUtil.Now()), }) p.TeLog("friend_add", map[string]interface{}{ @@ -303,7 +303,7 @@ func HandleFriendMsg(p *Player, m *msg.Msg) error { p.AddLog(m.From, friend.LOG_TYPE_FRIEND_APPLY, "") p.PushClientRes(&proto.ResFriendApplyNotify{ Player: PlayerSimpleData, - Type: friend.FRIEND_NOTIFY_APPLY, + Type: friend.FRIEND_NOTIFY_DEL, Time: int32(GoUtil.Now()), }) case msg.HANDLE_TYPE_REFUSE: // 拒绝好友申请