Show "unplayed" dot on incoming audio messages

This commit is contained in:
Evan Hahn
2021-08-12 13:15:55 -05:00
committed by GitHub
parent 9fd191ae00
commit b0750e5f4e
36 changed files with 812 additions and 175 deletions

5
ts/model-types.d.ts vendored
View File

@@ -15,6 +15,7 @@ import { MessageModel } from './models/messages';
import { ConversationModel } from './models/conversations';
import { ProfileNameChangeType } from './util/getStringForProfileChange';
import { CapabilitiesType } from './textsecure/WebAPI';
import { ReadStatus } from './messages/MessageReadStatus';
import {
SendState,
SendStateByConversationId,
@@ -182,7 +183,6 @@ export type MessageAttributesType = {
source?: string;
sourceUuid?: string;
unread?: boolean;
timestamp: number;
// Backwards-compatibility with prerelease data schema
@@ -191,6 +191,9 @@ export type MessageAttributesType = {
sendHQImages?: boolean;
// Should only be present for incoming messages
readStatus?: ReadStatus;
// Should only be present for outgoing messages
sendStateByConversationId?: SendStateByConversationId;
};