diff options
author | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2011-05-16 14:45:26 -0300 |
---|---|---|
committer | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2011-05-16 15:03:28 -0300 |
commit | 2c6c32b759b0ddb5518c17190ec7d441d376e035 (patch) | |
tree | c887f2aaa435ccd0d5d61ac7186345bbd74ccb03 | |
parent | 9cac9434efff8b200663de4c56a601151a02f747 (diff) |
Message: Remove DeliveryStatus::hasStatus() as "delivery-status" is mandatory.
-rw-r--r-- | TelepathyQt4/message.cpp | 8 | ||||
-rw-r--r-- | TelepathyQt4/message.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/TelepathyQt4/message.cpp b/TelepathyQt4/message.cpp index 5a47adfa..a70e4b43 100644 --- a/TelepathyQt4/message.cpp +++ b/TelepathyQt4/message.cpp @@ -485,14 +485,6 @@ ReceivedMessage::DeliveryDetails &ReceivedMessage::DeliveryDetails::operator=( return *this; } -bool ReceivedMessage::DeliveryDetails::hasStatus() const -{ - if (!isValid()) { - return false; - } - return partContains(mPriv->parts, 0, "delivery-status"); -} - DeliveryStatus ReceivedMessage::DeliveryDetails::status() const { if (!isValid()) { diff --git a/TelepathyQt4/message.h b/TelepathyQt4/message.h index 90f31c09..c879f362 100644 --- a/TelepathyQt4/message.h +++ b/TelepathyQt4/message.h @@ -108,7 +108,6 @@ public: bool isValid() const { return mPriv.constData() != 0; } - bool hasStatus() const; DeliveryStatus status() const; bool hasToken() const; |