didcomm-rs icon indicating copy to clipboard operation
didcomm-rs copied to clipboard

Multiple Mediators??

Open qikdauie opened this issue 8 months ago • 0 comments

Hello, in the README.md examples it mentions using the routed_by() method of the Message struct multiple times in reverse order to facilitate mediating with multiple mediators.

This may have worked in <=v0.4.0, but now routed_by() in v0.6.1-v0.7.2 returns a String. The only way that I can see to perform this operation is to call routed_by() once, then calling receive(), then routed_by() again for each remaining mediator, but this does not make any sense because receive will unwrap the message... Please advise.

Also, what If I am trying to mediate a seal_signed() message? seal_signed() returns a String as well, how would I call routed_by on the message after its gone through the seal_signed() method?

Any pointers or advise would be greatly appreciated. Thank you in advance.

qikdauie avatar Jun 10 '24 19:06 qikdauie