Skip to content
Snippets Groups Projects
Verified Commit 41242ef3 authored by akwizgran's avatar akwizgran
Browse files

Check that there's only one local client versions message.

parent c55bef95
No related branches found
No related tags found
No related merge requests found
......@@ -262,6 +262,7 @@ class ClientVersioningManagerImpl implements ClientVersioningManager, Client,
storeClientVersions(txn, newVersions);
return true;
}
if (ids.size() != 1) throw new DbException();
MessageId m = ids.iterator().next();
List<ClientVersion> oldVersions = loadClientVersions(txn, m);
if (oldVersions.equals(newVersions)) return false;
......
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