Changeset 9622

Show
Ignore:
Timestamp:
05/11/08 20:18:34 (2 months ago)
Author:
js
Message:

Make logging of OTR status changes a bit nicer.
Still not ideal. Maybe add a new log type for encryption? ESessions
could also use this…

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/gajim.py

    r9621 r9622  
    290290                        if ctrl: 
    291291                                ctrl.print_conversation_line(u" [OTR] %s"%msg, 'status', '', None) 
    292                 id = gajim.logger.write('chat_msg_recv', fjid, message=msg, tim=tim) 
     292                id = gajim.logger.write('chat_msg_recv', fjid, message='[OTR: %s]' % msg, tim=tim) 
    293293                # gajim.logger.write() only marks a message as unread (and so only 
    294294                # returns an id) when fjid is a real contact (NOT if it's a GC private