diff options
author | Nathan Fritz <fritzy@netflint.net> | 2009-09-25 17:35:10 +0000 |
---|---|---|
committer | Nathan Fritz <fritzy@netflint.net> | 2009-09-25 17:35:10 +0000 |
commit | 2349f849e3fd146d44af7d6e8714100657cf38da (patch) | |
tree | 24f3f995f08c369305184fc972f3ffa27b018f41 /sleekxmpp/basexmpp.py | |
parent | e59d43ff3e07610b9cedbd04f64619fe9743694d (diff) | |
download | slixmpp-2349f849e3fd146d44af7d6e8714100657cf38da.tar.gz slixmpp-2349f849e3fd146d44af7d6e8714100657cf38da.tar.bz2 slixmpp-2349f849e3fd146d44af7d6e8714100657cf38da.tar.xz slixmpp-2349f849e3fd146d44af7d6e8714100657cf38da.zip |
bugfixes
Diffstat (limited to 'sleekxmpp/basexmpp.py')
-rw-r--r-- | sleekxmpp/basexmpp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/basexmpp.py b/sleekxmpp/basexmpp.py index 8985b546..20958679 100644 --- a/sleekxmpp/basexmpp.py +++ b/sleekxmpp/basexmpp.py @@ -326,8 +326,8 @@ class basexmpp(object): def sendMessage(self, mto, mbody, msubject=None, mtype=None, mhtml=None, mfrom=None, mnick=None): self.send(self.makeMessage(mto,mbody,msubject,mtype,mhtml,mfrom,mnick)) - def sendPresence(self, pshow=None, pstatus=None, ppriority=None, pto=None, pfrom=None): - self.send(self.makePresence(pshow,pstatus,ppriority,pto, pfrom=pfrom)) + def sendPresence(self, pshow=None, pstatus=None, ppriority=None, pto=None, pfrom=None, ptype=None): + self.send(self.makePresence(pshow,pstatus,ppriority,pto, ptype=ptype, pfrom=pfrom)) if not self.sentpresence: self.event('sent_presence') self.sentpresence = True |