Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
cde7d0de
Commit
cde7d0de
authored
Oct 03, 2017
by
Ronan
Browse files
fix(ContentType): use isCPIM instead of isCpim (camel case!)
parent
4451f49d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
src/chat/chat-message.cpp
src/chat/chat-message.cpp
+1
-1
src/content/content-type.cpp
src/content/content-type.cpp
+1
-1
src/content/content-type.h
src/content/content-type.h
+1
-1
src/content/content.h
src/content/content.h
+1
-1
No files found.
src/chat/chat-message.cpp
View file @
cde7d0de
...
...
@@ -983,7 +983,7 @@ LinphoneReason ChatMessagePrivate::receive() {
// Start of message modification
// ---------------------------------------
if
(
ContentType
::
isC
PIM
(
getContentType
()))
{
if
(
ContentType
::
isC
pim
(
getContentType
()))
{
CpimChatMessageModifier
ccmm
;
ccmm
.
decode
(
this
);
}
...
...
src/content/content-type.cpp
View file @
cde7d0de
...
...
@@ -152,7 +152,7 @@ bool ContentType::isText (const string &contentType) {
return
contentType
==
"text/plain"
;
}
bool
ContentType
::
isC
PIM
(
const
string
&
contentType
)
{
bool
ContentType
::
isC
pim
(
const
string
&
contentType
)
{
return
contentType
==
"Message/CPIM"
;
}
...
...
src/content/content-type.h
View file @
cde7d0de
...
...
@@ -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
isC
PIM
(
const
std
::
string
&
contentType
);
static
bool
isC
pim
(
const
std
::
string
&
contentType
);
private:
L_DECLARE_PRIVATE
(
ContentType
);
...
...
src/content/content.h
View file @
cde7d0de
...
...
@@ -55,7 +55,7 @@ public:
void
setBody
(
const
void
*
buffer
,
size_t
size
);
size_t
getSize
()
const
;
bool
isValid
()
const
;
bool
isEmpty
()
const
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment