Sort by inbox position to match phone after link

This commit is contained in:
Josh Perez
2020-03-09 17:43:09 -07:00
committed by Scott Nonnenberg
parent 1f5cb9e8af
commit 4830213a12
25 changed files with 707 additions and 1029 deletions

View File

@@ -27,6 +27,7 @@ export type ConversationType = {
isArchived: boolean;
activeAt?: number;
timestamp: number;
inboxPosition: number;
lastMessage?: {
status: 'error' | 'sending' | 'sent' | 'delivered' | 'read';
text: string;
@@ -56,7 +57,13 @@ export type MessageType = {
id: string;
conversationId: string;
source: string;
type: 'incoming' | 'outgoing' | 'group' | 'keychange' | 'verified-change';
type:
| 'incoming'
| 'outgoing'
| 'group'
| 'keychange'
| 'verified-change'
| 'message-history-unsynced';
quote?: { author: string };
received_at: number;
hasSignalAccount?: boolean;