Added sort on sender

This commit is contained in:
M66B
2018-12-27 11:32:20 +00:00
parent 0ab8452495
commit 02a89260b4
11 changed files with 1341 additions and 9 deletions

View File

@@ -74,6 +74,7 @@ import static androidx.room.ForeignKey.SET_NULL;
@Index(value = {"folder", "uid"}, unique = true),
@Index(value = {"msgid", "folder"}, unique = true),
@Index(value = {"thread"}),
@Index(value = {"sender"}),
@Index(value = {"received"}),
@Index(value = {"ui_seen"}),
@Index(value = {"ui_flagged"}),
@@ -103,6 +104,7 @@ public class EntityMessage implements Serializable {
public String inreplyto;
public String thread; // compose = null
public String avatar; // Contact lookup URI
public String sender; // sort key
public Address[] from;
public Address[] to;
public Address[] cc;