forked from cwtch.im/cwtch
typo
This commit is contained in:
parent
ec1aa6ea3b
commit
c0513d8968
|
@ -158,7 +158,7 @@ func (cp *CwtchPeer) TrustPeer(peer string) error {
|
|||
// BlockPeer blocks an existing peer relationship.
|
||||
func (cp *CwtchPeer) BlockPeer(peer string) error {
|
||||
err := cp.Profile.BlockPeer(peer)
|
||||
cp.connectionsManager.TearDownConnection(peer)
|
||||
cp.connectionsManager.TearDownPeerConnection(peer)
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue