fix: remove deprecated function
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2024-01-04 11:11:39 +01:00
parent c51a361620
commit 15b7b19268
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 2 additions and 1 deletions

View File

@ -326,7 +326,6 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
case AcnOnMsg:
m.app = msg.app
m.acn = msg.acn
m.app.ActivateEngines(true, true, true)
m.acnState = connected
cmds = append(cmds, m.sendStatusCmd("ACN is up and running, all engines go"))
@ -375,6 +374,8 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
m.profiles = append(m.profiles, newProfile)
// TODO: ActivateEngines went away, we need to fire up engines per onion address now
// https://git.openprivacy.ca/cwtch.im/cwtch/commit/e311301d7264df7f510717f6b45e9f1ff339d323
cmds = append(cmds, func() tea.Msg {
return startProfileCmd(&m, newProfile.onion)
})