1
This commit is contained in:
parent
90ca35d1da
commit
4e724f46e4
@ -155,7 +155,7 @@ func (this *mailMgr) CaGetUnreadMailCnt(c *gin.Context) {
|
|||||||
this.traversePlayerMail(
|
this.traversePlayerMail(
|
||||||
hum,
|
hum,
|
||||||
func (m *mail) bool {
|
func (m *mail) bool {
|
||||||
if m.IsValid(hum) {
|
if m.IsValid(hum) && hum.IsUnread(m) {
|
||||||
rspObj.UnreadMailCnt++
|
rspObj.UnreadMailCnt++
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user