summaryrefslogtreecommitdiff
path: root/sleekxmpp/basexmpp.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2010-10-17 03:09:40 +0800
committerLance Stout <lancestout@gmail.com>2010-10-17 08:55:30 +0800
commit2755d732a4e2843b4a685ec0ef57ee0f7c0f685f (patch)
treead202db838b9f64147ee1ec5ebddd2efbf85cb6a /sleekxmpp/basexmpp.py
parent2d18d905a537587ee9685877ae2c108511e57d91 (diff)
downloadslixmpp-2755d732a4e2843b4a685ec0ef57ee0f7c0f685f.tar.gz
slixmpp-2755d732a4e2843b4a685ec0ef57ee0f7c0f685f.tar.bz2
slixmpp-2755d732a4e2843b4a685ec0ef57ee0f7c0f685f.tar.xz
slixmpp-2755d732a4e2843b4a685ec0ef57ee0f7c0f685f.zip
Remove deprecation warnings
Remove all the deprecation warnings by using only boundjid. And also fix a indentation error.
Diffstat (limited to 'sleekxmpp/basexmpp.py')
-rw-r--r--sleekxmpp/basexmpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/basexmpp.py b/sleekxmpp/basexmpp.py
index 2b4df809..c022f838 100644
--- a/sleekxmpp/basexmpp.py
+++ b/sleekxmpp/basexmpp.py
@@ -380,7 +380,7 @@ class BaseXMPP(XMLStream):
if pshow is not None:
presence['type'] = pshow
if pfrom is None:
- presence['from'] = self.fulljid
+ presence['from'] = self.boundjid.full
presence['priority'] = ppriority
presence['status'] = pstatus
return presence