Skip to content
Snippets Groups Projects
Commit acb3a44a authored by Adrien Béraud's avatar Adrien Béraud
Browse files

SyncChannelHandler: cleanup

Change-Id: I6a894a682792434e1a763c8e0a927c0f34e893e2
parent bf12b7e6
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -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
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment