Fix warning due to using deprecated property

This commit is contained in:
joe248
2018-08-30 10:36:03 -05:00
committed by GitHub
parent b26e150e71
commit 1846e2ccf4
+1 -1
View File
@@ -486,7 +486,7 @@ class EcoVacsXMPP(ClientXMPP):
return q
def _my_address(self):
return self.user + '@' + self.domain + '/' + self.resource
return self.user + '@' + self.domain + '/' + self.boundjid.resource
def send_ping(self, to):
q = self.make_iq_get(ito=to, ifrom=self._my_address())