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-daemon
Commits
c57b956a
Commit
c57b956a
authored
Jul 06, 2021
by
Olivier Dion
Browse files
client: Add `accountID` argument to `addAccount()`
Change-Id: Ice706b3c5384cb8bec7becfc6209658a78b9ac9a
parent
4c18f940
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/client/configurationmanager.cpp
View file @
c57b956a
...
...
@@ -430,9 +430,9 @@ getAccountTemplate(const std::string& accountType)
}
std
::
string
addAccount
(
const
std
::
map
<
std
::
string
,
std
::
string
>&
details
)
addAccount
(
const
std
::
map
<
std
::
string
,
std
::
string
>&
details
,
const
std
::
string
&
accountID
)
{
return
jami
::
Manager
::
instance
().
addAccount
(
details
);
return
jami
::
Manager
::
instance
().
addAccount
(
details
,
accountID
);
}
void
...
...
src/dring/configurationmanager_interface.h
View file @
c57b956a
...
...
@@ -60,7 +60,7 @@ DRING_PUBLIC void setAccountDetails(const std::string& accountID,
const
std
::
map
<
std
::
string
,
std
::
string
>&
details
);
DRING_PUBLIC
void
setAccountActive
(
const
std
::
string
&
accountID
,
bool
active
);
DRING_PUBLIC
std
::
map
<
std
::
string
,
std
::
string
>
getAccountTemplate
(
const
std
::
string
&
accountType
);
DRING_PUBLIC
std
::
string
addAccount
(
const
std
::
map
<
std
::
string
,
std
::
string
>&
details
);
DRING_PUBLIC
std
::
string
addAccount
(
const
std
::
map
<
std
::
string
,
std
::
string
>&
details
,
const
std
::
string
&
accountID
=
{}
);
DRING_PUBLIC
void
monitor
(
bool
continuous
);
DRING_PUBLIC
bool
exportOnRing
(
const
std
::
string
&
accountID
,
const
std
::
string
&
password
);
DRING_PUBLIC
bool
exportToFile
(
const
std
::
string
&
accountID
,
...
...
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