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
11a54fe7
Unverified
Commit
11a54fe7
authored
Sep 23, 2019
by
Sébastien Blin
Browse files
account: add managerUsername to details
Change-Id: I70925f1955e589372e1903915c0f3f7a728dabf2
parent
242407f9
Changes
2
Show whitespace changes
Inline
Side-by-side
src/api/account.h
View file @
11a54fe7
...
...
@@ -108,6 +108,7 @@ struct ConfProperties_t {
std
::
string
deviceId
;
std
::
string
deviceName
;
std
::
string
managerUri
;
std
::
string
managerUsername
;
bool
publishedSameAsLocal
;
int
localPort
;
int
publishedPort
;
...
...
src/newaccountmodel.cpp
View file @
11a54fe7
...
...
@@ -729,6 +729,7 @@ account::Info::fromDetails(const MapStringString& details)
confProperties
.
Registration
.
expire
=
toInt
(
details
[
ConfProperties
::
Registration
::
EXPIRE
]);
// Jams
confProperties
.
managerUri
=
toStdString
(
details
[
ConfProperties
::
MANAGER_URI
]);
confProperties
.
managerUsername
=
toStdString
(
details
[
ConfProperties
::
MANAGER_USERNAME
]);
}
MapStringString
...
...
@@ -836,6 +837,7 @@ account::ConfProperties_t::toDetails() const
details
[
ConfProperties
::
Registration
::
EXPIRE
]
=
toQString
(
this
->
Registration
.
expire
);
// Manager
details
[
ConfProperties
::
MANAGER_URI
]
=
toQString
(
this
->
managerUri
);
details
[
ConfProperties
::
MANAGER_USERNAME
]
=
toQString
(
this
->
managerUsername
);
return
details
;
}
...
...
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