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

Start looking at fixing sender id on udb side

parent 8f8e817f
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,6 @@ import (
type searchCallback func([]contact.Contact, error)
func (m *Manager) searchProcess(c chan message.Receive, quitCh <-chan struct{}) {
for true {
select {
......@@ -55,7 +54,6 @@ func (m *Manager) searchProcess(c chan message.Receive, quitCh <-chan struct{})
}
}
// Search...
func (m *Manager) Search(list fact.FactList, callback searchCallback, timeout time.Duration) error {
if !m.IsRegistered() {
......@@ -79,6 +77,8 @@ func (m *Manager) Search(list fact.FactList, callback searchCallback, timeout ti
return errors.WithMessage(err, "Failed to form outgoing search request")
}
//cUID := m.client.GetUser().ID
msg := message.Send{
Recipient: m.udID,
Payload: requestMarshaled,
......@@ -150,7 +150,6 @@ func (m *Manager) Search(list fact.FactList, callback searchCallback, timeout ti
}
}
// Delete the response channel from the map
m.inProgressSearchMux.Lock()
delete(m.inProgressSearch, commID)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment