Add introduced contacts as UNVERIFIED

Closes #580
This commit is contained in:
Torsten Grote
2016-08-10 12:35:33 -03:00
parent 70b311db13
commit e690bcb3cc
22 changed files with 201 additions and 126 deletions

View File

@@ -62,7 +62,7 @@ public interface DatabaseComponent {
* and returns an ID for the contact.
*/
ContactId addContact(Transaction txn, Author remote, AuthorId local,
boolean active) throws DbException;
boolean verified, boolean active) throws DbException;
/**
* Stores a group.
@@ -423,6 +423,12 @@ public interface DatabaseComponent {
*/
void removeTransport(Transaction txn, TransportId t) throws DbException;
/**
* Marks the given contact as verified or unverified.
*/
void setContactVerified(Transaction txn, ContactId c, boolean verified)
throws DbException;
/**
* Marks the given contact as active or inactive.
*/