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

リモートフォローは必ず承認待ち状態を挟むように変更 #2606

Merged
merged 1 commit into from Sep 4, 2018

Conversation

mei23
Copy link
Contributor

@mei23 mei23 commented Sep 4, 2018

Resolve #2604, #2605

リモートフォロー時は、ローカルで鍵と認識している否かを問わず
必ず一旦フォローリクエストにするように変更しています。
(即時フォロー済みに変更するのではなく)

UIやisLockedを見てる部分も変更しています。

変更前

相手がリモートの場合、鍵垢と認識している場合のみフォローリクエスト

変更後

相手がリモートの場合、常にフォローリクエスト

一時的にスタータスは承認待ちになる(DBもUIも)

リモートから Accept/Rejectが返ってきたタイミングで
→DBを承認待ちから変更(フォロー済み/未フォローへ)
→publish follow/unfollow event
→eventを受けてUIのフォローボタンが変わる

@syuilo syuilo merged commit eaec936 into misskey-dev:develop Sep 4, 2018
@syuilo
Copy link
Member

syuilo commented Sep 4, 2018

ありがとうございます🙏🙏🙏

@mei23 mei23 deleted the mei-0903-follow6 branch March 7, 2019 11:17
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