forked from cwtch.im/libcwtch-go
Update Cwtch / Trigger Antispam PLugin
This commit is contained in:
parent
e0d2c229c7
commit
f0ea513177
2
go.mod
2
go.mod
|
@ -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
|
|
@ -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..
|
||||
|
|
Loading…
Reference in New Issue