Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow sending strings as encrypted replies in echo_client example #2

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

kmq
Copy link
Contributor

@kmq kmq commented Oct 3, 2024

the encrypted_reply function in the echo client example accepts a Message or a string for the reply parameter. But supplying a string caused an error because the variable name reply was being reused. This commit introduces a new variable to temporarily hold the reply body, so it can get sent.

the `encrypted_reply` function in the echo client example accepts a Message or a string for the reply parameter.  But supplying a string caused an error because the variable name `reply` was being reused.
This commit introduces a new variable to temporarily hold the reply body, so it can get sent.
@Syndace Syndace merged commit 807eeb2 into Syndace:main Oct 4, 2024
8 checks passed
@Syndace
Copy link
Owner

Syndace commented Oct 4, 2024

Whoops, thanks!

Syndace added a commit that referenced this pull request Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants