Return proper Invitation objects in SharingManager

Fixes #470
This commit is contained in:
Torsten Grote
2016-08-03 16:52:42 -03:00
parent 3bbc8dcc4e
commit 17db03d40a
15 changed files with 135 additions and 112 deletions

View File

@@ -33,8 +33,8 @@ public interface SharingManager<S extends Shareable> {
Collection<InvitationMessage> getInvitationMessages(
ContactId contactId) throws DbException;
/** Returns all shareables to which the user has been invited. */
Collection<S> getInvited() throws DbException;
/** Returns all invitations to shareables. */
Collection<InvitationItem> getInvitations() throws DbException;
/** Returns all contacts who are sharing the given group with us. */
Collection<Contact> getSharedBy(GroupId g) throws DbException;