fix: remove deprecated function
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
c51a361620
commit
15b7b19268
|
@ -326,7 +326,6 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||||
case AcnOnMsg:
|
case AcnOnMsg:
|
||||||
m.app = msg.app
|
m.app = msg.app
|
||||||
m.acn = msg.acn
|
m.acn = msg.acn
|
||||||
m.app.ActivateEngines(true, true, true)
|
|
||||||
m.acnState = connected
|
m.acnState = connected
|
||||||
cmds = append(cmds, m.sendStatusCmd("ACN is up and running, all engines go"))
|
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)
|
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 {
|
cmds = append(cmds, func() tea.Msg {
|
||||||
return startProfileCmd(&m, newProfile.onion)
|
return startProfileCmd(&m, newProfile.onion)
|
||||||
})
|
})
|
||||||
|
|
Reference in New Issue