Refactor ValidationManager and fix some bugs. #619

This commit is contained in:
akwizgran
2016-09-08 14:57:41 +01:00
parent fd4275733f
commit 8a3e5bfb50
34 changed files with 978 additions and 922 deletions

View File

@@ -177,8 +177,7 @@ class IntroduceeManager {
d.put(REMOTE_AUTHOR_IS_US, introducesOtherIdentity);
// save local state to database
clientHelper.addLocalMessage(txn, localMsg,
IntroductionManagerImpl.CLIENT_ID, d, false);
clientHelper.addLocalMessage(txn, localMsg, d, false);
return d;
}

View File

@@ -98,9 +98,7 @@ class IntroducerManager {
d.put(AUTHOR_ID_2, c2.getAuthor().getId());
// save local state to database
clientHelper
.addLocalMessage(txn, m, IntroductionManagerImpl.CLIENT_ID, d,
false);
clientHelper.addLocalMessage(txn, m, d, false);
return d;
}