Changeset 168

Show
Ignore:
Timestamp:
05/29/02 17:54:30 (6 years ago)
Author:
sholloway
Message:

*** empty log message ***

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/RBJabber/RBJabber/Client.py

    r166 r168  
    231231        return self.SendXML(strXML) 
    232232 
    233     def Presence(self, toJID='', status='', show='', type='available', xml=''): 
     233    def Presence(self, toJID='', status='', show='', type='available', priority=None, xml=''): 
    234234        """Sends a jabber:client presence to toJID or everyone if not toJID. 
    235235 
     
    241241        strXML += '>' 
    242242 
     243        if priority is not None: strXML += '<priority>%s</priority>'  % escape(str(priority)) 
    243244        if show: strXML += '<show>%s</show>'  % escape(show)  
    244245        if status: strXML += '<status>%s</status>' % escape(status)