Quotes: Use authorId when navigating to original message
This commit is contained in:
parent
3715309f9c
commit
0506b79f6b
4 changed files with 12 additions and 8 deletions
|
@ -185,7 +185,10 @@ export type PropsActions = {
|
|||
displayTapToViewMessage: (messageId: string) => unknown;
|
||||
|
||||
openLink: (url: string) => void;
|
||||
scrollToQuotedMessage: (options: { author: string; sentAt: number }) => void;
|
||||
scrollToQuotedMessage: (options: {
|
||||
authorId: string;
|
||||
sentAt: number;
|
||||
}) => void;
|
||||
selectMessage?: (messageId: string, conversationId: string) => unknown;
|
||||
|
||||
showExpiredIncomingTapToViewToast: () => unknown;
|
||||
|
@ -971,7 +974,7 @@ export class Message extends React.PureComponent<Props, State> {
|
|||
? undefined
|
||||
: () => {
|
||||
scrollToQuotedMessage({
|
||||
author: quote.authorId,
|
||||
authorId: quote.authorId,
|
||||
sentAt: quote.sentAt,
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue