Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
e26dcceb
Commit
e26dcceb
authored
Jun 06, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(src/app/paths/Paths): coding style
parent
abfd1631
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Paths.cpp
linphone-desktop/src/app/paths/Paths.cpp
+4
-4
No files found.
linphone-desktop/src/app/paths/Paths.cpp
View file @
e26dcceb
...
...
@@ -20,6 +20,7 @@
* Author: Ronan Abhamon
*/
#include <linphone++/linphone.hh>
#include <QCoreApplication>
#include <QDir>
#include <QFile>
...
...
@@ -30,7 +31,6 @@
#include "config.h"
#include "Paths.hpp"
#include <linphone++/linphone.hh>
#define PATH_ASSISTANT_CONFIG "/assistant/"
#define PATH_AVATARS "/avatars/"
...
...
@@ -256,10 +256,10 @@ static void migrateConfigurationFile (const QString &oldPath, const QString &new
}
static
void
setRlsUri
(
const
QString
&
configPath
)
{
shared_ptr
<
linphone
::
Config
>
config
=
linphone
::
Config
::
newWithFactory
(
Utils
::
appStringToCoreString
(
configPath
),
""
);
shared_ptr
<
linphone
::
Config
>
config
=
linphone
::
Config
::
newWithFactory
(
::
Utils
::
appStringToCoreString
(
configPath
),
""
);
if
(
config
->
getString
(
"sip"
,
"rls_uri"
,
""
).
empty
())
{
config
->
setString
(
"sip"
,
"rls_uri"
,
"sips:rls@sip.linphone.org"
);
config
->
sync
();
config
->
sync
();
}
}
...
...
@@ -272,7 +272,7 @@ void Paths::migrate () {
if
(
!
filePathExists
(
newPath
)
&&
filePathExists
(
oldPath
))
{
migrateConfigurationFile
(
oldPath
,
newPath
);
/* Define RLS uri so that presence switches from peer-to-peer mode to list mode
*/
/* Define RLS uri so that presence switches from peer-to-peer mode to list mode.
*/
setRlsUri
(
newPath
);
}
...
...
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