Changeset 8710 for branches/gajim_0.11.1/src/common/xmpp/protocol.py
- Timestamp:
- 09/04/07 20:38:33 (15 months ago)
- Files:
-
- 1 modified
-
branches/gajim_0.11.1/src/common/xmpp/protocol.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/gajim_0.11.1/src/common/xmpp/protocol.py
r8672 r8710 510 510 def getStatusCode(self): 511 511 """Returns the status code of the presence (for groupchat)""" 512 return self._muc_getItemAttr('status','code') 512 attrs = [] 513 for xtag in self.getTags('x'): 514 for child in xtag.getTags('status'): 515 attrs.append(child.getAttr('code')) 516 return attrs 513 517 514 518 class Iq(Protocol):
