好友优化
This commit is contained in:
parent
6dca79233c
commit
e3628c77b7
@ -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: // 拒绝好友申请
|
||||
|
||||
Loading…
Reference in New Issue
Block a user