mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Display new contacts at the top of the contact list
by initializing their latest message time with the current time
This commit is contained in:
@@ -12,6 +12,12 @@ import javax.annotation.Nullable;
|
||||
@NotNullByDefault
|
||||
public interface MessageTracker {
|
||||
|
||||
/**
|
||||
* Initializes the group count with zero messages,
|
||||
* but uses the current time as latest message time for sorting.
|
||||
*/
|
||||
void initializeGroupCount(Transaction txn, GroupId g) throws DbException;
|
||||
|
||||
/**
|
||||
* Gets the number of visible and unread messages in the group
|
||||
* as well as the timestamp of the latest message
|
||||
|
||||
Reference in New Issue
Block a user