Commit cde7d0de authored by Ronan's avatar Ronan

fix(ContentType): use isCPIM instead of isCpim (camel case!)

parent 4451f49d
......@@ -983,7 +983,7 @@ LinphoneReason ChatMessagePrivate::receive() {
// Start of message modification
// ---------------------------------------
if (ContentType::isCPIM(getContentType())) {
if (ContentType::isCpim(getContentType())) {
CpimChatMessageModifier ccmm;
ccmm.decode(this);
}
......
......@@ -152,7 +152,7 @@ bool ContentType::isText (const string &contentType) {
return contentType == "text/plain";
}
bool ContentType::isCPIM(const string &contentType) {
bool ContentType::isCpim(const string &contentType) {
return contentType == "Message/CPIM";
}
......
......@@ -59,7 +59,7 @@ public:
static bool isImIsComposing (const std::string &contentType);
static bool isImdn (const std::string &contentType);
static bool isText (const std::string &contentType);
static bool isCPIM (const std::string &contentType);
static bool isCpim (const std::string &contentType);
private:
L_DECLARE_PRIVATE(ContentType);
......
......@@ -55,7 +55,7 @@ public:
void setBody (const void *buffer, size_t size);
size_t getSize () const;
bool isValid() const;
bool isEmpty () const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment