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

[bugfix] If status URL is empty, use URI instead and don't log unnecessary error #597

Merged
merged 2 commits into from
May 23, 2022

Conversation

tsmethurst
Copy link
Contributor

This PR fixes an issue where if no URL was set on the Note Activity, we were logging an error and not setting a URL. This led to instances where in the UI you go to click on a status to see the web representation, but the link is empty. Now, we take the status URI and save it as the URL for the webview when no URL is available, so the user at least has something to click :)

closes #590

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.

[bug] ASStatusToStatus: error extracting status URL: url property was nil (Pleroma)
2 participants