Show
Ignore:
Timestamp:
08/30/07 01:49:01 (15 months ago)
Author:
roidelapluie
Message:

consider all unknown types in presence as if there were no type. fixes #3144

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11.1/src/common/connection_handlers.py

    r8618 r8620  
    15571557                ptype = prs.getType() 
    15581558                if ptype == 'available': 
     1559                        ptype = None 
     1560                rfc_types = ('unavailable', 'error', 'subscribe', 'subscribed', 'unsubscribe', 'unsubscribed') 
     1561                if ptype and not ptype in rfc_types: 
    15591562                        ptype = None 
    15601563                gajim.log.debug('PresenceCB: %s' % ptype)