update-retry #98

Merged
dan merged 2 commits from update-retry into trunk 2022-09-10 19:18:26 +00:00
2 changed files with 3 additions and 0 deletions
Showing only changes of commit f0ea513177 - Show all commits

2
go.mod
View File

@ -29,3 +29,5 @@ require (
golang.org/x/tools v0.1.10 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
)
replace cwtch.im/cwtch => /home/sarah/workspace/src/cwtch.im/cwtch

View File

@ -143,6 +143,7 @@ func (eh *EventHandler) handleAppBusEvent(e *event.Event) string {
profile.SetScopedZonedAttribute(attr.LocalScope, attr.ProfileZone, constants2.PeerOnline, event.False)
eh.app.AddPeerPlugin(onion, plugins.CONNECTIONRETRY)
eh.app.AddPeerPlugin(onion, plugins.NETWORKCHECK)
eh.app.AddPeerPlugin(onion, plugins.ANTISPAM)
// If the user has chosen to block unknown profiles
// then explicitly configure the protocol engine to do so..