Show "unplayed" dot on outgoing audio messages
This commit is contained in:
parent
b73c029d5f
commit
14929fb408
16 changed files with 219 additions and 60 deletions
|
@ -21,6 +21,7 @@ const { deleteSentProtoRecipient } = dataInterface;
|
|||
export enum MessageReceiptType {
|
||||
Delivery = 'Delivery',
|
||||
Read = 'Read',
|
||||
View = 'View',
|
||||
}
|
||||
|
||||
type MessageReceiptAttributesType = {
|
||||
|
@ -151,6 +152,9 @@ export class MessageReceipts extends Collection<MessageReceiptModel> {
|
|||
case MessageReceiptType.Read:
|
||||
sendActionType = SendActionType.GotReadReceipt;
|
||||
break;
|
||||
case MessageReceiptType.View:
|
||||
sendActionType = SendActionType.GotViewedReceipt;
|
||||
break;
|
||||
default:
|
||||
throw missingCaseError(type);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue