Fix deprecation warning for setting self.resource
This commit is contained in:
parent
06423964ec
commit
6680c244f5
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ class BaseXMPP(XMLStream):
|
||||||
|
|
||||||
@resource.setter
|
@resource.setter
|
||||||
def resource(self, value):
|
def resource(self, value):
|
||||||
log.warning("fulljid property deprecated. Use boundjid.full")
|
log.warning("fulljid property deprecated. Use boundjid.resource")
|
||||||
self.boundjid.resource = value
|
self.boundjid.resource = value
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in a new issue