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

Do not process undeliverable mentions #5598

Merged

Conversation

ClearlyClaire
Copy link
Contributor

This is a hotfix for #5535. It skips processing/rendering mentions for remote OStatus users so that at a user knows that something wrong is going on, which is much better than the statu quo (silently dropping messages).

This is still pretty bad design and should be in the long-term replaced by something more informative and more general, such as delivery ack/nack (with some info if possible).

The first commit in this PR is actually #5539, which I hope will be merged soonish :)

This commit reduces the risk of not having up-to-date public key or protocol
information for a remote account, which is required to deliver toots
(especially direct messages).
…liver to

Mastodon does not deliver private and direct toots to OStatus users, as there
is no guarantee the remote software understands the toot's privacy. However,
users currently do not get any feedback on it (Mastodon won't attempt delivery,
but the toot will be displayed exactly the same way to the user).

This change introduces *some* feedback by not processing mentions that are
not going to be delivered. A long-term solution is still needed to have
delivery receipts or at least some better indication of what is going on, but
at least an user can see *something* is up.
@Gargron Gargron merged commit 84cfee2 into mastodon:master Nov 7, 2017
@ClearlyClaire ClearlyClaire deleted the do-not-process-undeliverable-mentions branch November 11, 2017 15:38
cobodo pushed a commit to cobodo/mastodon that referenced this pull request Dec 6, 2017
* Resolve remote accounts when mentioned even if they are already known

This commit reduces the risk of not having up-to-date public key or protocol
information for a remote account, which is required to deliver toots
(especially direct messages).

* Do not add mentions in private messages for remote users we cannot deliver to

Mastodon does not deliver private and direct toots to OStatus users, as there
is no guarantee the remote software understands the toot's privacy. However,
users currently do not get any feedback on it (Mastodon won't attempt delivery,
but the toot will be displayed exactly the same way to the user).

This change introduces *some* feedback by not processing mentions that are
not going to be delivered. A long-term solution is still needed to have
delivery receipts or at least some better indication of what is going on, but
at least an user can see *something* is up.
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.

None yet

2 participants