diff --git a/server/imserver_new/guild/guildmgr.go b/server/imserver_new/guild/guildmgr.go index d2062489..6f2574e2 100644 --- a/server/imserver_new/guild/guildmgr.go +++ b/server/imserver_new/guild/guildmgr.go @@ -316,7 +316,7 @@ func (this *guildMgr) AsyncApplyJoin(accountId string, guildId string, cb func(i }) } -func (this *guildMgr) asyncAcceptApplyTask(task *f5.AsyncTask, +func (this *guildMgr) asyncAcceptApplyTask(task *f5.AsyncTask, guild *guild, accountId string, targetId string, cb func(int32, string)) { } @@ -333,7 +333,7 @@ func (this *guildMgr) AsyncAcceptApply(accountId string, targetId string, cb fun }, f5.NewAsyncTask( func (task *f5.AsyncTask) { - this.asyncAcceptApplyTask(task, accountId, targetId, cb) + this.asyncAcceptApplyTask(task, guild, accountId, targetId, cb) })) }