Closed tdiesler closed 1 year ago
fun putContextConnection(pcon: Connection?) {
putAttachment(CONNECTION_ATTACHMENT_KEY, pcon)
pcon?.also {
checkNotNull(pcon.myLabel) { "No myLabel in: ${pcon.shortString()}" }
checkNotNull(pcon.theirLabel) { "No theirLabel in: ${pcon.shortString()}" }
putVar("${pcon.alias}.myDid", pcon.myDid.uri)
putVar("${pcon.alias}.theirDid", pcon.theirDid.uri)
putVar("${pcon.myLabel}.Did", pcon.myDid.uri)
putVar("${pcon.theirLabel}.Did", pcon.theirDid.uri)
}
}
When both Malathi and Rajesh have a connection to Government,
Government.Did
may not be sufficiently unique