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

Fix minor syntax error in PM sending #74

Merged
merged 2 commits into from
Feb 25, 2025
Merged

Conversation

craftxbox
Copy link
Contributor

@craftxbox craftxbox commented Feb 25, 2025

This PR removes an erroneous space, which can cause some softwares issues when receiving API key PM's as the invalid URL will not parse. (notably, this occurs in Fedify based implementations), as well as fixing an invalid syntax for Mentions in the mastodon PM implementation

Additionally, though unrelated to this PR specifically, the Mastodon PM proxy has become defunct with the retirement of botsin.space, and now reports a 401 error on any instance it's attempted on.

@@ -88,7 +88,7 @@ def send_mastodon_pm(self, message, username, domain):
document["object"]["tag"] = [
{
"type": "Mention",
"to": f"@{username}",
"name": f"@{username}",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@db0
Copy link
Member

db0 commented Feb 25, 2025

Additionally, though unrelated to this PR specifically, the Mastodon PM proxy has become defunct with the retirement of botsin.space, and now reports a 401 error on any instance it's attempted on.

Hm, I set up my own GTS instance along with the fediseer to take over this and tested it at the time. I have to check what's failing

@db0 db0 merged commit b93303b into Fediseer:main Feb 25, 2025
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.

2 participants