Show "unplayed" dot on outgoing audio messages
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user