Show
Ignore:
Timestamp:
11/09/07 20:30:15 (13 months ago)
Author:
asterix
Message:

merge some fixes from trunk: [8864] [8866] [8881] [8884] [8887] [8894] [8895] [8902] [8903] [8904] [8905] [8906] [8910] [8918] [8919] [8921] [8923] [8924] [8938] [8942] [8952] [8953] [8954]

Files:
1 modified

Legend:

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

    r8740 r8955  
    449449 
    450450                if real_id[:3] == 'au_': 
    451                         gajim.socks5queue.send_file(file_props, self.name) 
     451                        if file.has_key('stopped') and file_props['stopped']: 
     452                                self.remove_transfer(file_props) 
     453                        else: 
     454                                gajim.socks5queue.send_file(file_props, self.name) 
    452455                        raise common.xmpp.NodeProcessed 
    453456 
     
    471474 
    472475                else: 
    473                         gajim.socks5queue.send_file(file_props, self.name) 
     476                        if file_props.has_key('stopped') and file_props['stopped']: 
     477                                self.remove_transfer(file_props) 
     478                        else: 
     479                                gajim.socks5queue.send_file(file_props, self.name) 
    474480                        if file_props.has_key('fast'): 
    475481                                fasts = file_props['fast'] 
     
    10441050                                self.dispatch('METACONTACTS', meta_list) 
    10451051                        else: 
    1046                                 self.private_storage_supported = False 
     1052                                if iq_obj.getErrorCode() not in ('403', '406', '404'): 
     1053                                        self.private_storage_supported = False 
    10471054                        # We can now continue connection by requesting the roster 
    10481055                        self.connection.initRoster()