mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Setup pin/unpin actions and mark messages pinned in timeline
This commit is contained in:
@@ -49,6 +49,7 @@ export type OwnProps = Readonly<{
|
||||
expirationLength?: number;
|
||||
expirationTimestamp?: number;
|
||||
id: string;
|
||||
isPinned: boolean;
|
||||
played: boolean;
|
||||
status?: MessageStatusType;
|
||||
textPending?: boolean;
|
||||
@@ -156,6 +157,7 @@ export function MessageAudio(props: Props): JSX.Element {
|
||||
expirationLength,
|
||||
expirationTimestamp,
|
||||
id,
|
||||
isPinned,
|
||||
played,
|
||||
status,
|
||||
textPending,
|
||||
@@ -381,6 +383,7 @@ export function MessageAudio(props: Props): JSX.Element {
|
||||
hasText={withContentBelow}
|
||||
i18n={i18n}
|
||||
id={id}
|
||||
isPinned={isPinned}
|
||||
isShowingImage={false}
|
||||
isSticker={false}
|
||||
pushPanelForConversation={pushPanelForConversation}
|
||||
|
||||
Reference in New Issue
Block a user