Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
c57b956a
Commit
c57b956a
authored
4 years ago
by
Olivier Dion
Browse files
Options
Downloads
Patches
Plain Diff
client: Add `accountID` argument to `addAccount()`
Change-Id: Ice706b3c5384cb8bec7becfc6209658a78b9ac9a
parent
4c18f940
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/client/configurationmanager.cpp
+2
-2
2 additions, 2 deletions
src/client/configurationmanager.cpp
src/dring/configurationmanager_interface.h
+1
-1
1 addition, 1 deletion
src/dring/configurationmanager_interface.h
with
3 additions
and
3 deletions
src/client/configurationmanager.cpp
+
2
−
2
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
...
...
This diff is collapsed.
Click to expand it.
src/dring/configurationmanager_interface.h
+
1
−
1
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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment