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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
e2a76ce7
Commit
e2a76ce7
authored
4 months ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
manager: cleanup, remove unused arguments
Change-Id: I13cb1b54e9ade0bc61e4ea3e58c6708154b9e6f0
parent
7a8aa3d3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/manager.h
+5
-9
5 additions, 9 deletions
src/manager.h
with
5 additions
and
9 deletions
src/manager.h
+
5
−
9
View file @
e2a76ce7
...
...
@@ -866,9 +866,9 @@ public:
* @param conversationId Related conversation
* @return std::optional<std::weak_ptr<ChannelSocket>> the related socket
*/
std
::
shared_ptr
<
dhtnet
::
ChannelSocket
>
gitSocket
(
const
std
::
string_view
accountId
,
const
std
::
string_view
deviceId
,
const
std
::
string_view
conversationId
);
std
::
shared_ptr
<
dhtnet
::
ChannelSocket
>
gitSocket
(
std
::
string_view
accountId
,
std
::
string_view
deviceId
,
std
::
string_view
conversationId
);
void
setDefaultModerator
(
const
std
::
string
&
accountID
,
const
std
::
string
&
peerURI
,
bool
state
);
std
::
vector
<
std
::
string
>
getDefaultModerators
(
const
std
::
string
&
accountID
);
...
...
@@ -906,13 +906,9 @@ private:
// Helper to install a callback to be called once by the main event loop
template
<
typename
Callback
>
static
void
runOnMainThread
(
Callback
&&
cb
,
const
char
*
filename
=
CURRENT_FILENAME
(),
uint32_t
linum
=
CURRENT_LINE
())
runOnMainThread
(
Callback
&&
cb
)
{
Manager
::
instance
().
scheduler
().
run
([
cb
=
std
::
forward
<
Callback
>
(
cb
)]()
mutable
{
cb
();
},
filename
,
linum
);
Manager
::
instance
().
scheduler
().
run
([
cb
=
std
::
forward
<
Callback
>
(
cb
)]()
mutable
{
cb
();
});
}
}
// namespace jami
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