Add conditional Chat/DM buttons throughout the interface

This commit is contained in:
Alex Gleason
2021-10-13 13:55:02 -05:00
parent 3280176914
commit da79e5a876
10 changed files with 77 additions and 16 deletions

View File

@ -14,6 +14,7 @@ export default class Header extends ImmutablePureComponent {
onBlock: PropTypes.func.isRequired,
onMention: PropTypes.func.isRequired,
onDirect: PropTypes.func.isRequired,
onChat: PropTypes.func,
onReblogToggle: PropTypes.func.isRequired,
onReport: PropTypes.func.isRequired,
onMute: PropTypes.func.isRequired,