This commit is contained in:
aozhiwei 2019-04-18 14:49:40 +08:00
parent 0a4bef9c26
commit 1190220869

View File

@ -950,9 +950,8 @@ void Player::_CMEmote(f8::MsgHdr& hdr, const cs::CMEmote& msg)
void Player::_CMVoice(f8::MsgHdr& hdr, const cs::CMVoice& msg)
{
cs::SMVoiceNotify notifymsg;
notifymsg.set_mode(msg.mode());
notifymsg.set_account_id(account_id);
notifymsg.set_msg(msg.msg());
notifymsg.set_download_url(msg.download_url());
auto send_func = [] (Player* hum, a8::XParams& param)
{
cs::SMVoiceNotify* msg = (cs::SMVoiceNotify*)param.sender.GetUserData();