Show badges in contact spoofing dialog

This commit is contained in:
Evan Hahn 2021-11-30 04:07:24 -06:00 committed by GitHub
parent 599c7afe8b
commit a7ca634e87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 3 deletions

View file

@ -1492,6 +1492,7 @@ export class Timeline extends React.PureComponent<PropsType, StateType> {
let contactSpoofingReviewDialog: ReactNode;
if (contactSpoofingReview) {
const commonProps = {
getPreferredBadge,
i18n,
onBlock,
onBlockAndReportSpam,
@ -1500,6 +1501,7 @@ export class Timeline extends React.PureComponent<PropsType, StateType> {
onShowContactModal: showContactModal,
onUnblock,
removeMember,
theme,
};
switch (contactSpoofingReview.type) {