Philipp Hörist pushed to branch master at gajim / gajim

Commits:

3 changed files:

Changes:

  • gajim/chat_control.py
    ... ... @@ -1259,6 +1259,7 @@ class ChatControl(ChatControlBase):
    1259 1259
                                             old_kind=local_old_kind,
    
    1260 1260
                                             xhtml=xhtml,
    
    1261 1261
                                             additional_data=additional_data,
    
    1262
    +                                        message_id=row.message_id,
    
    1262 1263
                                             marker=row.marker,
    
    1263 1264
                                             error=row.error)
    
    1264 1265
                 if row.message.startswith('/me ') or row.message.startswith('/me\n'):
    

  • gajim/common/logger.py
    ... ... @@ -789,7 +789,8 @@ class Logger:
    789 789
     
    
    790 790
             sql = '''
    
    791 791
                 SELECT time, kind, message, error as "error [common_error]",
    
    792
    -                   subject, additional_data, marker as "marker [marker]"
    
    792
    +                   subject, additional_data, marker as "marker [marker]",
    
    793
    +                   message_id
    
    793 794
                 FROM logs NATURAL JOIN jids WHERE jid IN ({jids}) AND
    
    794 795
                 kind IN ({kinds}) AND time > get_timeout()
    
    795 796
                 ORDER BY time DESC, log_line_id DESC LIMIT ? OFFSET ?
    

  • gajim/common/zeroconf/connection_handlers_zeroconf.py
    ... ... @@ -47,7 +47,7 @@ class ConnectionHandlersZeroconf(connection_handlers.ConnectionHandlersBase):
    47 47
             """
    
    48 48
             Called when we receive a message
    
    49 49
             """
    
    50
    -        if properties.is_error:
    
    50
    +        if properties.type.is_error:
    
    51 51
                 return
    
    52 52
             log.info('Zeroconf MessageCB')
    
    53 53
     
    
    ... ... @@ -119,6 +119,7 @@ class ConnectionHandlersZeroconf(connection_handlers.ConnectionHandlersBase):
    119 119
                 'msg_log_id': None,
    
    120 120
                 'displaymarking': None,
    
    121 121
                 'stanza_id': id_,
    
    122
    +            'properties': properties,
    
    122 123
             }
    
    123 124
     
    
    124 125
             app.nec.push_incoming_event(