diff --git a/connect/connect.go b/connect/connect.go index b221e5853ea81e2104613e14a6e378c2abc64cf0..f998281a2996f8a43bf339561caeac1beb1d8f13 100644 --- a/connect/connect.go +++ b/connect/connect.go @@ -125,8 +125,11 @@ func Connect(recipient contact.Contact, user *xxdk.E2e, // // It is recommended that this be called before StartNetworkFollower to ensure // no requests are missed. -// This call does an xxDK.ephemeralLogin under the hood and the connection +// +// This calls xxdk.LoginEphemeral under the hood and the connection // server must be the only listener on auth. +// +// The given Callback needs to handle receiving a nil Connection. func StartServer(identity xxdk.ReceptionIdentity, connectionCallback Callback, net *xxdk.Cmix, params xxdk.E2EParams, clParams ConnectionListParams) (*ConnectionServer, error) {