mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix(ContentType): use isCPIM instead of isCpim (camel case!)
This commit is contained in:
parent
4451f49d74
commit
cde7d0de15
4 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue