This commit is contained in:
aozhiwei 2020-07-02 15:39:49 +08:00
parent aa6d5c94d7
commit e46d0d2629

View File

@ -50,7 +50,7 @@ void PlayerMgr::_SS_IM_SendChatMsg(f8::MsgHdr& hdr, const ss::SS_IM_SendChatMsg&
void PlayerMgr::_SS_IM_SendCustomMsg(f8::MsgHdr& hdr, const ss::SS_IM_SendCustomMsg& msg)
{
Player* hum = GetPlayerByAccountId(msg.target());
if (hum && !hum->GetBlackListById(msg.target())) {
if (hum && !hum->GetBlackListById(msg.context().user_info().base_data().account_id())) {
cs::SMCustomMsgNotify notifymsg;
notifymsg.set_sender(msg.context().user_info().base_data().account_id());
notifymsg.set_msg(msg.msg());