Skip to content
Snippets Groups Projects
Commit ecc60371 authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix usage of Lookup in xxmutils

parent 94a70702
No related branches found
No related tags found
2 merge requests!510Release,!289Have ud.Search/Lookup take in udE2e
...@@ -243,10 +243,8 @@ func LookupContact(userID *id.ID, messenger *xxdk.E2e, udContact contact.Contact ...@@ -243,10 +243,8 @@ func LookupContact(userID *id.ID, messenger *xxdk.E2e, udContact contact.Contact
waiter.Lock() waiter.Lock()
// in MS, so 90 seconds // in MS, so 90 seconds
stream := messenger.GetRng().GetStream() _, _, err = ud.Lookup(messenger, udContact, lookupCB, userID,
defer stream.Close() single.GetDefaultRequestParams())
_, _, err = ud.Lookup(messenger.GetCmix(), stream, messenger.GetE2E().GetGroup(),
udContact, lookupCB, userID, single.GetDefaultRequestParams())
// Now force a wait for callback to exit // Now force a wait for callback to exit
waiter.Lock() waiter.Lock()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment