[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/plugins/otr
From: Michael Zanetti <michael_zanetti () gmx ! net>
Date: 2009-10-03 12:29:00
Message-ID: 1254572940.928278.28432.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1030885 by mzanetti:
Committing patch from Florian Reinhard
Fixes incoming file-transfers during OTR sessions.
BUG: 183005
CCMAIL: florian.reinhard@googlemail.com
M +6 -0 otrplugin.cpp
--- trunk/KDE/kdenetwork/kopete/plugins/otr/otrplugin.cpp #1030884:1030885
@@ -253,6 +253,12 @@
QMap<QString, QString> messageCache = plugin->getMessageCache();
if( msg.direction() == Kopete::Message::Inbound ){
+ if( msg.type() == Kopete::Message::TypeFileTransferRequest )
+ {
+ // file transfers aren't encrypted. Proceed with next plugin
+ MessageHandler::handleMessage( event );
+ return;
+ }
QString body = msg.plainBody();
QString accountId = msg.manager()->account()->accountId();
QString contactId = msg.from()->contactId();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic