Changeset 10015
- Timestamp:
- 07/23/08 20:38:52 (3 months ago)
- Files:
-
- 1 modified
-
trunk/src/common/caps.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/common/caps.py
r10013 r10015 181 181 182 182 def is_supported(self, contact, feature): 183 # No resource -> can't have any caps 183 184 if not contact or not contact.resource: 185 return False 186 187 # Unfortunately, if all resources are offline, the contact 188 # includes the last resource that was online. Check for its 189 # show, so we can be sure it's existant. Otherwise, we still 190 # return caps for a contact that has no resources left. 191 if contact.show == 'offline': 184 192 return False 185 193
