1
This commit is contained in:
parent
11ff251eb2
commit
590a9c9249
3
server/imserver/cache/cachemgr.go
vendored
3
server/imserver/cache/cachemgr.go
vendored
@ -179,7 +179,8 @@ func (this *cacheMgr) AsyncSearch(sinceId int64, q string, pbUsers *[]*cs.MFUser
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *cacheMgr) AsyncRecommendList(int32, string, *[]*cs.MFUser, func(int32, string)) {
|
func (this *cacheMgr) AsyncRecommendList(recommendType int32, accountId string, pbUsers *[]*cs.MFUser,
|
||||||
|
cb func(int32, string)) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -324,6 +324,7 @@ func (this *player) CMInviteFriendMsg(hdr *f5.MsgHdr, msg *cs.CMInviteFriendMsg)
|
|||||||
|
|
||||||
func (this *player) CMRecommendList(hdr *f5.MsgHdr, msg *cs.CMRecommendList) {
|
func (this *player) CMRecommendList(hdr *f5.MsgHdr, msg *cs.CMRecommendList) {
|
||||||
rspMsg := new(cs.SMRecommendList)
|
rspMsg := new(cs.SMRecommendList)
|
||||||
|
rspMsg.Users = []*cs.MFUser{}
|
||||||
GetCacheMgr().AsyncRecommendList(
|
GetCacheMgr().AsyncRecommendList(
|
||||||
msg.GetType(),
|
msg.GetType(),
|
||||||
this.GetAccountId(),
|
this.GetAccountId(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user