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
acb3a44a
Commit
acb3a44a
authored
4 months ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
SyncChannelHandler: cleanup
Change-Id: I6a894a682792434e1a763c8e0a927c0f34e893e2
parent
bf12b7e6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/jamidht/sync_channel_handler.cpp
+2
-3
2 additions, 3 deletions
src/jamidht/sync_channel_handler.cpp
src/jamidht/sync_channel_handler.h
+1
-1
1 addition, 1 deletion
src/jamidht/sync_channel_handler.h
with
3 additions
and
4 deletions
src/jamidht/sync_channel_handler.cpp
+
2
−
3
View file @
acb3a44a
...
...
@@ -19,10 +19,9 @@
*/
#include
"jamidht/sync_channel_handler.h"
#include
<opendht/thread_pool.h>
static
constexpr
const
char
SYNC_
URI
[]
{
"sync://"
};
static
constexpr
const
char
SYNC_
SCHEME
[]
{
"sync://"
};
namespace
jami
{
...
...
@@ -38,7 +37,7 @@ SyncChannelHandler::~SyncChannelHandler() {}
void
SyncChannelHandler
::
connect
(
const
DeviceId
&
deviceId
,
const
std
::
string
&
,
ConnectCb
&&
cb
)
{
auto
channelName
=
SYNC_
URI
+
deviceId
.
toString
();
auto
channelName
=
SYNC_
SCHEME
+
deviceId
.
toString
();
if
(
connectionManager_
.
isConnecting
(
deviceId
,
channelName
))
{
JAMI_INFO
(
"Already connecting to %s"
,
deviceId
.
to_c_str
());
return
;
...
...
This diff is collapsed.
Click to expand it.
src/jamidht/sync_channel_handler.h
+
1
−
1
View file @
acb3a44a
...
...
@@ -27,7 +27,7 @@
namespace
jami
{
/**
* Manages channels for syncing information
* Manages channels for syncing information
between devices of the same account
*/
class
SyncChannelHandler
:
public
ChannelHandlerInterface
{
...
...
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