Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hashtags in posts on Mastodon from at least Hubzilla are shown as links to a hashtag search at the post's origin rather than to a hashtag on Mastodon #4245

Open
1 task done
JupiterRowland opened this issue Feb 5, 2024 · 0 comments

Comments

@JupiterRowland
Copy link

Tusky seems to have a problem with handling hashtags in posts that were sent from (at least) Hubzilla to Mastodon.

I guess Tusky is built against hashtags always including the "hashtag character" (#) because that's how all ActivityPub-based projects do it, especially Mastodon. Like so:

#Hashtag

A little-known fact, however, is that Friendica, Hubzilla and (streams) don't do that. They start the actual tag that works as a link after the "hashtag character". Like so:

#Hashtag

This confuses the UIs of a lot of projects that are built under the assumption that the whole Fediverse acts like Mastodon, Tusky included. The result is that Tusky treats Mastodon-style hashtags like the first example as expected, namely as a hashtag on whichever instance the post is read on. Hashtags like the second example, on the other hand, are treated like external links and, at least on the UI, rewritten accordingly by attaching the domain of origin, thus making them useless as hashtags.

I know this happens with posts which come from Hubzilla. But since hashtags from Friendica, Hubzilla's first ancestor, and (streams), Hubzilla's youngest descendant, look and work the same, it's safe to assume that posts coming from these lead to the same result.


Steps to reproduce:

  1. Have a Mastodon account, e.g. on mastodon.social, and a Hubzilla channel, e.g. on zotadel.net. Don't forget to turn ActivityPub on on Hubzilla.
  2. Follow your Hubzilla channel with your Mastodon account. Confirm the connection on Hubzilla, thereby following your Mastodon account back.
  3. Connect Tusky to your Mastodon account.
  4. Write a post on Hubzilla that contains the hashtag #Hashtag.
  5. Wait for the post from Hubzilla to appear in Tusky.
  6. Once it has appeared, check what the hashtag looks like.

Expected and desired result:

#Hashtag or #Hashtag

Links to the hashtag itself on the Mastodon server on which your account is.

Fully functional as a hashtag in Tusky.

Actual result:

#Hashtag (zotadel.net)

Links to the hashtag search to the Hubzilla hub on which your channel is.

Not functional as a hashtag in Tusky.


On an interesting sidenote, the Web UIs of Misskey and, as far as I can tell, all its forks show the same bug. Mastodon's default Web UI doesn't.


  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.
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

No branches or pull requests

1 participant