[telepathy-qt4/master] OutgoingFileTransferChannel: Invalidate channel if ProvideFile fails.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Tue Sep 22 18:48:10 PDT 2009
---
TelepathyQt4/outgoing-file-transfer-channel.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/TelepathyQt4/outgoing-file-transfer-channel.cpp b/TelepathyQt4/outgoing-file-transfer-channel.cpp
index 4eac8d8..ed89cda 100644
--- a/TelepathyQt4/outgoing-file-transfer-channel.cpp
+++ b/TelepathyQt4/outgoing-file-transfer-channel.cpp
@@ -178,6 +178,7 @@ void OutgoingFileTransferChannel::onProvideFileFinished(PendingOperation *op)
if (op->isError()) {
warning() << "Error providing file transfer " <<
op->errorName() << ":" << op->errorMessage();
+ invalidate(op->errorName(), op->errorMessage());
return;
}
--
1.5.6.5
More information about the telepathy-commits
mailing list