-
Notifications
You must be signed in to change notification settings - Fork 182
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 threaded mode continuesly editing same toot #2430
base: main
Are you sure you want to change the base?
Fix threaded mode continuesly editing same toot #2430
Conversation
6cb686a
to
eb727ff
Compare
Rebased to fix a lint error which wasn't present when this PR was opened. |
I think I would just unset |
Can do, but that would mean the thread would continue on the edited toot, which is likely unexpected. |
Hm… I suppose it should also clear |
Wouldn't that break threaded mode? |
I mean, do that when |
I'm not sure I'm understanding correctly, because |
|
I'm still not sure what you mean, but what you're getting at is instead of continuing a thread after editing a toot in threaded mode, exit threaded mode? |
Hmmh I think I get it now. That is why I propose saving the id of the last status in a thread, as all other solutions have undesirable side effects. |
Okay, made the following changes:
The second point is necessary because the local-only setting is now set to the toots local-only attribute, which also explains #2431 (comment) |
There was both an issue with threaded mode and local-only toots when editing. When activating either option, it was preserved on edit, but changing the local-only attribute is not supported and threaded mode got stuck editing the same toot. The local-only option will be set to the toots local-only attribute to reflect that it is a local-only toot in the compose form. This unfortunately adds an additional local-only emoji. Signed-off-by: Plastikmensch <[email protected]>
An additional local-only emoji was added to toots after editing a local-only toot, because the `do_not_federate` option is `true` and a local-only emoji is added unconditionally in such a case. Signed-off-by: Plastikmensch <[email protected]>
eb727ff
to
f88e33d
Compare
This pull request has merge conflicts that must be resolved before it can be merged. |
Fixes #2429
Updated. See: #2430 (comment)