Skip to content
Snippets Groups Projects
Commit 11762604 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Call the user's callback

parent 1e412572
Branches
Tags
2 merge requests!170Release,!139Call the user's callback
......@@ -254,6 +254,12 @@ func (m *Manager) handleRequest(cmixMsg format.Message,
jww.INFO.Printf("ConfirmRequestAuth to %s on round %d",
partnerID, rndNum)
c := partnerContact
cbList := m.confirmCallbacks.Get(c.ID)
for _, cb := range cbList {
ccb := cb.(interfaces.ConfirmCallback)
go ccb(c)
}
return
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment