Changeset 168
- Timestamp:
- 05/29/02 17:54:30 (6 years ago)
- Files:
-
- trunk/RBJabber/RBJabber/Client.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/RBJabber/RBJabber/Client.py
r166 r168 231 231 return self.SendXML(strXML) 232 232 233 def Presence(self, toJID='', status='', show='', type='available', xml=''):233 def Presence(self, toJID='', status='', show='', type='available', priority=None, xml=''): 234 234 """Sends a jabber:client presence to toJID or everyone if not toJID. 235 235 … … 241 241 strXML += '>' 242 242 243 if priority is not None: strXML += '<priority>%s</priority>' % escape(str(priority)) 243 244 if show: strXML += '<show>%s</show>' % escape(show) 244 245 if status: strXML += '<status>%s</status>' % escape(status)
