Skip to content

Commit

Permalink
- fix: fixed send message to inbox
Browse files Browse the repository at this point in the history
  • Loading branch information
agallardol committed Oct 10, 2023
1 parent cd4c681 commit 6b16170
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -499,9 +499,11 @@ export class ShinkaiMessageBuilderWrapper {
inbox,
'None'
);
builder.external_metadata(receiver, sender);
builder.external_metadata_with_intra(receiver, sender, sender_subidentity);

// TODO: At this point we are forcing unencrypted message until we implement message response in shinkai-node
builder.body_encryption(
'DiffieHellmanChaChaPoly1305'
'None'
);

const message = builder.build_to_string();
Expand Down

0 comments on commit 6b16170

Please sign in to comment.