fix: fix delete connection by id when theirDid is empty OP#443
Description
The MR fixes the bug when impossible to delete connection if theirDid is empty
Related issues
https://plan.vereign.com/projects/vbd/work_packages/443
Testing
OCM1. Create invitation
OCM2. Accept invitation
OCM2. Delete this connection. Result. It sends hangup request. theirDid will be cleared
OCM1. Delete this connection. Result:
Unable to send message using connection '6a66f14e-84dc-401a-abcf-b55eaee8cb1e' that doesn't have a did
Checklist
-
I have updated the documentation (if necessary) -
I have added unit tests for new functionality (if applicable) -
My code follows the style guidelines of this project -
I have tested this code on my local machine before submitting this MR