diff options
author | Olli Salli <ollisal@gmail.com> | 2010-12-19 19:33:51 +0200 |
---|---|---|
committer | Olli Salli <ollisal@gmail.com> | 2010-12-19 19:33:51 +0200 |
commit | 90763ff7b2f677dd2f40e403137623e1432031cd (patch) | |
tree | ad0908b4b7f3858caa40ed5611c5f8a714a3ef81 | |
parent | 1624ae180a4a0bf4f2e2358a557acd389426974e (diff) |
Use Cancelled as the default invalidation reason when a channel is Closed
-rw-r--r-- | TelepathyQt4/channel.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TelepathyQt4/channel.cpp b/TelepathyQt4/channel.cpp index 340adc59..dd2d5562 100644 --- a/TelepathyQt4/channel.cpp +++ b/TelepathyQt4/channel.cpp @@ -2583,9 +2583,8 @@ void Channel::onClosed() mPriv->groupSelfContactRemoveInfo); message = mPriv->groupSelfContactRemoveInfo.message(); } else { - // I think this is the nearest error code we can get at the moment - error = QLatin1String(TELEPATHY_ERROR_TERMINATED); - message = QLatin1String("Closed"); + error = TP_QT4_ERROR_CANCELLED; + message = QLatin1String("channel closed"); } invalidate(error, message); |