Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblinphone
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
10
Issues
10
List
Board
Labels
Milestones
Merge Requests
24
Merge Requests
24
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
liblinphone
Commits
cde7d0de
Commit
cde7d0de
authored
Oct 03, 2017
by
Ronan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
chat-message.cpp
src/chat/chat-message.cpp
+1
-1
content-type.cpp
src/content/content-type.cpp
+1
-1
content-type.h
src/content/content-type.h
+1
-1
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