Other(refactor): Remove unencrypted recipient confirmation

This commit is contained in:
James Houlahan
2022-08-19 16:15:51 +02:00
committed by Jakub
parent 4c52a12507
commit 310c6a1ccf
12 changed files with 17 additions and 332 deletions

View File

@ -46,7 +46,6 @@ func New(
eventListener listener.Listener,
updater types.Updater,
bridge *bridge.Bridge,
noEncConfirmator types.NoEncConfirmator,
restarter types.Restarter,
) Frontend {
bridgeWrap := types.NewBridgeWrap(bridge)
@ -59,7 +58,6 @@ func New(
eventListener,
updater,
bridgeWrap,
noEncConfirmator,
restarter,
)

View File

@ -75,9 +75,7 @@ func NewService(
eventListener listener.Listener,
updater types.Updater,
bridge types.Bridger,
_ types.NoEncConfirmator,
restarter types.Restarter,
) *Service {
s := Service{
UnimplementedBridgeServer: UnimplementedBridgeServer{},

View File

@ -37,10 +37,6 @@ type Restarter interface {
ForceLauncher(string)
}
type NoEncConfirmator interface {
ConfirmNoEncryption(string, bool)
}
type Updater interface {
Check() (updater.VersionInfo, error)
InstallUpdate(updater.VersionInfo) error