Skip to content

Conversation

@fahdfady
Copy link

Issue

Currently, the Discord presence shows "View Repo" button that links to a remote git origin that the extenstion sees through VSCode. this exposes private repositories' URLs through their discord activity.

Changes

  • Added discord.showPrivateRepositories configuration option (default: false)
  • Implemented GitHub API integration to check repository visibility
  • Now, repository links are only shown when they're :
  1. Public repositories
  2. Private repositories when explicitly enabled via config

resolves #1922

@fahdfady
Copy link
Author

@iCrawl can you take a look at this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

private Repos links are visible

1 participant