Philipp Hörist pushed to branch gajim_0.16 at gajim / gajim

Commits:

1 changed file:

Changes:

  • src/common/connection.py
    ... ... @@ -411,6 +411,8 @@ class CommonConnection:
    411 411
                 id_ = correction_msg.getID()
    
    412 412
                 if correction_msg.getTag('replace'):
    
    413 413
                     correction_msg.delChild('replace')
    
    414
    +            if correction_msg.getTag('delay'):
    
    415
    +                correction_msg.delChild('delay')
    
    414 416
                 correction_msg.setTag('replace', attrs={'id': id_},
    
    415 417
                     namespace=nbxmpp.NS_CORRECT)
    
    416 418
                 id2 = self.connection.getAnID()
    
    ... ... @@ -2737,6 +2739,8 @@ class Connection(CommonConnection, ConnectionHandlers):
    2737 2739
                 id_ = obj.correction_msg.getID()
    
    2738 2740
                 if obj.correction_msg.getTag('replace'):
    
    2739 2741
                     obj.correction_msg.delChild('replace')
    
    2742
    +            if obj.correction_msg.getTag('delay'):
    
    2743
    +                obj.correction_msg.delChild('delay')
    
    2740 2744
                 obj.correction_msg.setTag('replace', attrs={'id': id_},
    
    2741 2745
                                           namespace=nbxmpp.NS_CORRECT)
    
    2742 2746
                 id2 = self.connection.getAnID()