Syndace / slixmpp-omemo

GNU Affero General Public License v3.0
0 stars 1 forks source link

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

Closed kmq closed 2 weeks ago

kmq commented 2 weeks ago

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 commented 2 weeks ago

Whoops, thanks!