Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-libclient
Commits
9734b125
Unverified
Commit
9734b125
authored
Sep 18, 2019
by
Sébastien Blin
Browse files
newaccountmodel: use MANAGER_USERNAME instead of USERNAME
Change-Id: I02c4acf0b2867ad9228dc659c3f4407a0fb655f1
parent
2572d43e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/newaccountmodel.cpp
View file @
9734b125
...
...
@@ -875,9 +875,9 @@ NewAccountModel::connectToAccountManager(const std::string& username,
MapStringString
details
=
ConfigurationManager
::
instance
().
getAccountTemplate
(
"RING"
);
using
namespace
DRing
::
Account
;
details
[
ConfProperties
::
TYPE
]
=
"RING"
;
details
[
ConfProperties
::
USERNAME
]
=
username
.
c_str
();
details
[
ConfProperties
::
ARCHIVE_PASSWORD
]
=
password
.
c_str
();
details
[
ConfProperties
::
MANAGER_URI
]
=
serverUri
.
c_str
();
details
[
ConfProperties
::
MANAGER_USERNAME
]
=
username
.
c_str
();
details
[
ConfProperties
::
ARCHIVE_PASSWORD
]
=
password
.
c_str
();
QString
accountId
=
ConfigurationManager
::
instance
().
addAccount
(
details
);
return
accountId
.
toStdString
();
...
...
Write
Preview
Supports
Markdown
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