Chocobozzz / PeerTube

ActivityPub-federated video streaming platform using P2P directly in your web browser
https://joinpeertube.org/
GNU Affero General Public License v3.0
12.81k stars 1.46k forks source link

Open hashtags in PeerTube, not Mastodon, when the comment contaning the hashtags is posted from mastodon #2632

Open ghost opened 4 years ago

ghost commented 4 years ago

What happened? Comments containing hashtags, that were written from a mastodon instance, are being opened (if clicked on) in that mastodon instance, not peertube. What do you expect to happen instead? Comments that have hashtags, that are written from a mastodon instance, when opened (if clicked on) should open a peertube page for that hashtag. Steps to reproduce:

  1. https://peertube.mastodon.host/videos/watch/cda402b5-2bcb-4c0c-b232-0fa5a4dacaf5

  2. find the first comment written by ademalsasa@floss.social

  3. click on a hashtag from that comment

Additional information

Chocobozzz commented 4 years ago

We need to capture click events on hashtags and redirect in the search page.