Add a new event that is broadcasted when a contact is verified

Also, don't support unverifying contacts.
This commit is contained in:
Torsten Grote
2016-08-19 12:41:10 -03:00
parent e690bcb3cc
commit c3a14d9275
5 changed files with 30 additions and 13 deletions

View File

@@ -424,10 +424,9 @@ public interface DatabaseComponent {
void removeTransport(Transaction txn, TransportId t) throws DbException;
/**
* Marks the given contact as verified or unverified.
* Marks the given contact as verified.
*/
void setContactVerified(Transaction txn, ContactId c, boolean verified)
throws DbException;
void setContactVerified(Transaction txn, ContactId c) throws DbException;
/**
* Marks the given contact as active or inactive.