Move link notification to the conversation hero
This commit is contained in:
parent
5f3a62cbb6
commit
2f44e33c9c
26 changed files with 174 additions and 350 deletions
|
@ -785,13 +785,6 @@ export function getPropsForBubble(
|
|||
timestamp,
|
||||
};
|
||||
}
|
||||
if (isMessageHistoryUnsynced(message)) {
|
||||
return {
|
||||
type: 'linkNotification',
|
||||
data: null,
|
||||
timestamp,
|
||||
};
|
||||
}
|
||||
if (isExpirationTimerUpdate(message)) {
|
||||
return {
|
||||
type: 'timerNotification',
|
||||
|
@ -984,14 +977,6 @@ function getPropsForGroupV1Migration(
|
|||
};
|
||||
}
|
||||
|
||||
// Message History Unsynced
|
||||
|
||||
export function isMessageHistoryUnsynced(
|
||||
message: MessageWithUIFieldsType
|
||||
): boolean {
|
||||
return message.type === 'message-history-unsynced';
|
||||
}
|
||||
|
||||
// Note: props are null!
|
||||
|
||||
// Expiration Timer Update
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue