减少全服推送
This commit is contained in:
@@ -630,8 +630,8 @@ export class FriendHandler {
|
||||
let relation = getRecommendType(myRelation, roleId, hisRoleId);
|
||||
const msgData = await createPrivateMsg(roleId, roleName, MSG_TYPE.RICH_TEXT, MSG_SOURCE.PRIVATE_SEND_GIFT, JSON.stringify({ id, count }), hisRoleId, null, relation);
|
||||
await pushMsgToRole(msgData);
|
||||
let hisRole = <RoleType>curFriend.role;
|
||||
await pushPresent(roleId, roleName, serverId, hisRole.roleName, id);
|
||||
// let hisRole = <RoleType>curFriend.role;
|
||||
// await pushPresent(roleId, roleName, serverId, hisRole.roleName, id);
|
||||
}
|
||||
|
||||
return resResult(STATUS.SUCCESS, {
|
||||
|
||||
Reference in New Issue
Block a user