上传登录通知导致的日常问题不触发问题
This commit is contained in:
parent
f1809f37fe
commit
56af485f67
@ -169,9 +169,9 @@ func (this *apiComp) Login(session comm.IUserSession, req *pb.UserLoginReq) (err
|
||||
})
|
||||
|
||||
go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) {
|
||||
if !user.Created { // 没创角就没必要通知
|
||||
event.TriggerEvent(comm.EventUserLogin, session)
|
||||
}
|
||||
// if !user.Created { // 没创角就没必要通知
|
||||
event.TriggerEvent(comm.EventUserLogin, session)
|
||||
// }
|
||||
|
||||
if len(tasks) > 0 {
|
||||
this.module.ModuleBuried.TriggerBuried(session.Clone(), tasks...)
|
||||
|
Loading…
Reference in New Issue
Block a user