[telepathy-qt4/master] Channel: Use TELEPATHY_ERROR_TERMINATED as invalidate reason if change reason is not known.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Mon Jul 27 07:48:33 PDT 2009


---
 TelepathyQt4/channel.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt4/channel.cpp b/TelepathyQt4/channel.cpp
index 66f6a7e..5084430 100644
--- a/TelepathyQt4/channel.cpp
+++ b/TelepathyQt4/channel.cpp
@@ -2171,7 +2171,7 @@ void Channel::onClosed()
         message = mPriv->groupSelfContactRemoveInfo.message();
     } else {
         // I think this is the nearest error code we can get at the moment
-        error = TELEPATHY_ERROR_CANCELLED;
+        error = TELEPATHY_ERROR_TERMINATED;
         message = "Closed";
     }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list