rename local to incoming

This commit is contained in:
Aine
2022-09-23 10:33:25 +03:00
parent d50b79a801
commit 3f5a1cd915
5 changed files with 23 additions and 23 deletions

View File

@@ -19,15 +19,15 @@ type msa struct {
mta utils.MTA
}
func (m *msa) newSession(from string, local bool) *msasession {
func (m *msa) newSession(from string, incoming bool) *msasession {
return &msasession{
ctx: sentry.SetHubOnContext(context.Background(), sentry.CurrentHub().Clone()),
mta: m.mta,
from: from,
local: local,
log: m.log,
bot: m.bot,
domain: m.domain,
ctx: sentry.SetHubOnContext(context.Background(), sentry.CurrentHub().Clone()),
mta: m.mta,
from: from,
incoming: incoming,
log: m.log,
bot: m.bot,
domain: m.domain,
}
}