[SCM] ktp-filetransfer-handler packaging branch, master, updated. debian/15.12.1-2-226-g825cd93

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:12:24 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-filetransfer-handler.git;a=commitdiff;h=5fd886b

The following commit has been merged in the master branch:
commit 5fd886b0a83f80df22bb18eaf8e3a8e14cad309c
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Wed Jul 11 00:07:04 2012 +0200

    Do not set context error if URI is not set for outgoing ft channels
---
 src/filetransfer-handler.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/filetransfer-handler.cpp b/src/filetransfer-handler.cpp
index 71d81e5..250aa80 100644
--- a/src/filetransfer-handler.cpp
+++ b/src/filetransfer-handler.cpp
@@ -94,9 +94,9 @@ void FileTransferHandler::handleChannels(const Tp::MethodInvocationContextPtr<>
             kDebug() << outgoingFileTransferChannel->immutableProperties();
 
             if (outgoingFileTransferChannel->uri().isEmpty()) {
-                context->setFinishedWithError(TP_QT_ERROR_INCONSISTENT,
-                                            i18n("Cannot handle outgoing file transfer without URI"));
-                return;
+                kWarning() << "Cannot handle outgoing file transfer without URI";
+                KTp::TelepathyHandlerApplication::jobFinished();
+                continue;
             }
 
             job = new HandleOutgoingFileTransferChannelJob(outgoingFileTransferChannel, this);

-- 
ktp-filetransfer-handler packaging



More information about the pkg-kde-commits mailing list