diff --git a/examples/echo_client.py b/examples/echo_client.py index 16df8ca..d775bf0 100644 --- a/examples/echo_client.py +++ b/examples/echo_client.py @@ -262,13 +262,13 @@ class EchoBot(ClientXMPP): device_list.append(error.device) except (IqError, IqTimeout) as exn: self.plain_reply( - mto, mfrom, + mto, mtype, 'An error occured while fetching information on a recipient.\n%r' % exn, ) return None except Exception as exn: await self.plain_reply( - mto, mfrom, + mto, mtype, 'An error occured while attempting to encrypt.\n%r' % exn, ) raise