mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-02-12 19:22:45 +00:00
sync: don't break the loop if device id is same
This commit is contained in:
@@ -182,7 +182,7 @@ namespace Notesnook.API.Services
|
||||
device.LastAccessTime = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
|
||||
foreach (string id in ListDevices())
|
||||
{
|
||||
if (id == device.DeviceId || IsSyncReset(id)) return;
|
||||
if (id == device.DeviceId || IsSyncReset(id)) continue;
|
||||
|
||||
lock (id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user