Browse Source

var rename only

pull/15/head
heck 2 years ago
parent
commit
3f2de09de8
  1. 8
      src/Adapter.cc

8
src/Adapter.cc

@ -57,8 +57,8 @@ namespace pEp {
bool adapter_manages_sync_thread) bool adapter_manages_sync_thread)
{ {
// cache the values for sync-thread session creation // cache the values for sync-thread session creation
_messageToSend = messageToSend; _cb_messageToSend = messageToSend;
_notifyHandshake = notifyHandshake; _cb_notifyHandshake = notifyHandshake;
_sync_mode = sync_mode; _sync_mode = sync_mode;
_adapter_manages_sync_thread = adapter_manages_sync_thread; _adapter_manages_sync_thread = adapter_manages_sync_thread;
refresh(); refresh();
@ -172,7 +172,7 @@ namespace pEp {
void inject_sync_shutdown() void inject_sync_shutdown()
{ {
pEpLog("called"); pEpLog("called");
_inject_sync_event(nullptr, nullptr); _cb_enqueue_sync_event(nullptr, nullptr);
} }
void start_sync() void start_sync()
@ -198,7 +198,7 @@ namespace pEp {
// public // public
bool is_sync_running() bool is_sync_running()
{ {
if (!session._adapter_manages_sync_thread) { if (!session.adapter_manages_sync_thread()) {
return _sync_thread.joinable(); return _sync_thread.joinable();
} }
return false; return false;

Loading…
Cancel
Save