mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 11:49:04 +01:00
Added a method for getting one contact's private messages from the DB.
This commit is contained in:
@@ -174,6 +174,13 @@ public interface DatabaseComponent {
|
||||
Collection<PrivateMessageHeader> getPrivateMessageHeaders()
|
||||
throws DbException;
|
||||
|
||||
/**
|
||||
* Returns the headers of all private messages to or from the given
|
||||
* contact.
|
||||
*/
|
||||
Collection<PrivateMessageHeader> getPrivateMessageHeaders(ContactId c)
|
||||
throws DbException;
|
||||
|
||||
/** Returns the user's rating for the given author. */
|
||||
Rating getRating(AuthorId a) throws DbException;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user