Group Typing Bubble Animations
This commit is contained in:
parent
88df942029
commit
283ef57779
14 changed files with 565 additions and 209 deletions
|
@ -81,7 +81,9 @@ export function getConversation(model: ConversationModel): ConversationType {
|
|||
Object.values(model.contactTypingTimers || {}),
|
||||
'timestamp'
|
||||
);
|
||||
const typingContactIds = typingValues.map(({ senderId }) => senderId);
|
||||
const typingContactIdTimestamps = Object.fromEntries(
|
||||
typingValues.map(({ senderId, timestamp }) => [senderId, timestamp])
|
||||
);
|
||||
|
||||
const ourAci = window.textsecure.storage.user.getAci();
|
||||
const ourPni = window.textsecure.storage.user.getPni();
|
||||
|
@ -222,7 +224,7 @@ export function getConversation(model: ConversationModel): ConversationType {
|
|||
timestamp: dropNull(timestamp),
|
||||
title: getTitle(attributes),
|
||||
titleNoDefault: getTitleNoDefault(attributes),
|
||||
typingContactIds,
|
||||
typingContactIdTimestamps,
|
||||
searchableTitle: isMe(attributes)
|
||||
? window.i18n('icu:noteToSelf')
|
||||
: getTitle(attributes),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue