From 3f2de09de8ca99a9b654eafb2825baac170e2d39 Mon Sep 17 00:00:00 2001 From: heck Date: Fri, 20 Jan 2023 16:24:01 +0530 Subject: [PATCH] var rename only --- src/Adapter.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Adapter.cc b/src/Adapter.cc index 5bb9d83..a0ed7d6 100644 --- a/src/Adapter.cc +++ b/src/Adapter.cc @@ -57,8 +57,8 @@ namespace pEp { bool adapter_manages_sync_thread) { // cache the values for sync-thread session creation - _messageToSend = messageToSend; - _notifyHandshake = notifyHandshake; + _cb_messageToSend = messageToSend; + _cb_notifyHandshake = notifyHandshake; _sync_mode = sync_mode; _adapter_manages_sync_thread = adapter_manages_sync_thread; refresh(); @@ -172,7 +172,7 @@ namespace pEp { void inject_sync_shutdown() { pEpLog("called"); - _inject_sync_event(nullptr, nullptr); + _cb_enqueue_sync_event(nullptr, nullptr); } void start_sync() @@ -198,7 +198,7 @@ namespace pEp { // public bool is_sync_running() { - if (!session._adapter_manages_sync_thread) { + if (!session.adapter_manages_sync_thread()) { return _sync_thread.joinable(); } return false;