Changeset 9621

Show
Ignore:
Timestamp:
05/11/08 19:40:22 (7 months ago)
Author:
js
Message:

Don't log the OTR initiation request (?OTR?).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gajim.py

    r9620 r9621  
    370370                        # split away XHTML-contaminated explanatory message 
    371371                        message = unicode(message.splitlines()[0]) 
    372                         message += u"\nThis user has requested an Off-the-Record private " \ 
     372                        message += _(u"\nThis user has requested an Off-the-Record private " \ 
    373373                                "conversation.  However, you do not have a plugin to " \ 
    374374                                "support that.\nSee http://otr.cypherpunks.ca/ for more "\ 
    375                                 "information." 
    376  
     375                                "information.") 
     376 
     377                        gajim.connections[opdata['account']].connection.send( 
     378                                common.xmpp.Message(to = recipient, 
     379                                body = message, typ = 'chat')) 
     380                        return 
     381                 
    377382                gajim.connections[opdata['account']].send_message(recipient, message, 
    378383                        **opdata['kwargs'])