diff --git a/src/shared/components/post-listing.tsx b/src/shared/components/post-listing.tsx index 6545b2a5..809b8d12 100644 --- a/src/shared/components/post-listing.tsx +++ b/src/shared/components/post-listing.tsx @@ -617,7 +617,13 @@ export class PostListing extends Component { {this.props.post.duplicates.map(post => (
  • - {post.community_name} + + {post.community_local + ? post.community_name + : `${post.community_name}@${hostname( + post.community_actor_id + )}`} +
  • ))} diff --git a/src/shared/components/user.tsx b/src/shared/components/user.tsx index 3c50adf8..8f593cc9 100644 --- a/src/shared/components/user.tsx +++ b/src/shared/components/user.tsx @@ -55,6 +55,7 @@ import { UserDetails } from './user-details'; import { MarkdownTextArea } from './markdown-textarea'; import { ImageUploadForm } from './image-upload-form'; import { BannerIconHeader } from './banner-icon-header'; +import { CommunityLink } from './community-link'; interface UserState { userRes: UserDetailsResponse; @@ -841,9 +842,15 @@ export class User extends Component { @@ -864,9 +871,15 @@ export class User extends Component {
      {this.state.userRes.follows.map(community => (
    • - - {community.community_name} - +
    • ))}