[gnote] Use sync_client_id in file system sync server



commit dee01778434bb105a4cb6d5b16db1e6f7d600627
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Dec 13 00:00:01 2020 +0200

    Use sync_client_id in file system sync server

 src/synchronization/filesystemsyncserver.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/synchronization/filesystemsyncserver.cpp b/src/synchronization/filesystemsyncserver.cpp
index 95d6c0cd..c9cba44f 100644
--- a/src/synchronization/filesystemsyncserver.cpp
+++ b/src/synchronization/filesystemsyncserver.cpp
@@ -56,7 +56,7 @@ namespace sync {
 
 SyncServer *FileSystemSyncServer::create(const Glib::RefPtr<Gio::File> & path, Preferences & prefs)
 {
-  return new FileSystemSyncServer(path, 
prefs.get_schema_settings(Preferences::SCHEMA_SYNC)->get_string(Preferences::SYNC_CLIENT_ID));
+  return new FileSystemSyncServer(path, prefs.sync_client_id());
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]