Move lookup of latest conversation timestamp to core for blog and forum sharing.

This commit is contained in:
akwizgran
2020-12-01 16:21:06 +00:00
committed by Torsten Grote
parent 751c5a3245
commit f459beccdb
12 changed files with 128 additions and 144 deletions

View File

@@ -50,7 +50,7 @@ public interface ConversationManager {
/**
* Returns a timestamp for an outgoing message, which is later than the
* timestamp of any visible message sent or received so far.
* timestamp of any message in the conversation with the given contact.
*/
long getTimestampForOutgoingMessage(Transaction txn, ContactId c)
throws DbException;

View File

@@ -22,7 +22,7 @@ public interface SharingManager<S extends Shareable>
* including optional text.
*/
void sendInvitation(GroupId shareableId, ContactId contactId,
@Nullable String text, long timestamp) throws DbException;
@Nullable String text) throws DbException;
/**
* Responds to a pending group invitation