diff --git a/src/components/right/Profile.tsx b/src/components/right/Profile.tsx index 0468d4bfc..ccaef312f 100644 --- a/src/components/right/Profile.tsx +++ b/src/components/right/Profile.tsx @@ -32,6 +32,7 @@ import { getIsDownloading, getIsSavedDialog, getMessageDocument, + getMessageDownloadableMedia, isChatAdmin, isChatChannel, isChatGroup, @@ -584,21 +585,26 @@ const Profile: FC = ({ /> )) ) : resultType === 'voice' ? ( - (viewportIds as number[])!.map((id) => messagesById[id] && ( -