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
daa9ed3f
Commit
daa9ed3f
authored
Sep 07, 2017
by
Simon Morlat
Browse files
fix compilation issue on android
parent
77b35ea4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/chat/is-composing.cpp
View file @
daa9ed3f
...
...
@@ -21,6 +21,7 @@
#include "chat-room-p.h"
#include "logger/logger.h"
#include "linphone/utils/utils.h"
using
namespace
std
;
...
...
@@ -74,7 +75,7 @@ std::string IsComposing::marshal (bool isComposing) {
}
if
((
err
>=
0
)
&&
isComposing
)
{
int
refreshTimeout
=
lp_config_get_int
(
core
->
config
,
"sip"
,
"composing_refresh_timeout"
,
defaultRefreshTimeout
);
err
=
xmlTextWriterWriteElement
(
writer
,
(
const
xmlChar
*
)
"refresh"
,
(
const
xmlChar
*
)
to_s
tring
(
refreshTimeout
).
c_str
());
err
=
xmlTextWriterWriteElement
(
writer
,
(
const
xmlChar
*
)
"refresh"
,
(
const
xmlChar
*
)
Utils
::
toS
tring
(
refreshTimeout
).
c_str
());
}
if
(
err
>=
0
)
{
/* Close the "isComposing" element. */
...
...
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