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

アバターとバナーがリセットできない( 521eb95 でi/updateの挙動が変わっている) #10640

Closed
Nanashia opened this issue Apr 15, 2023 · 1 comment · Fixed by #10643
Assignees
Labels
⚠️bug? This might be a bug

Comments

@Nanashia
Copy link
Contributor

💡 Summary

521eb95 でアバターとバナーをキャッシュする仕組みが入りましたが、
この変更でi/update{ avatarId: null }{ bannerId: null }を渡した時の挙動が変化してしまっています。

521eb95#diff-ab6f3cefa5fb65f12b3bd83ef1e2cdac0dc7fc5a91ff096ab9736ce75ce0a231L173-L174
ps.avatarIdやps.bannerIdがnullだったときの分岐が考慮されていませんでした。

公式UI上はアバターとバナーをリセットする機能はない?けどサードパーティークライアントに影響があるかも。

🥰 Expected Behavior

i/update{ avatarId: null }{ bannerId: null }を渡した時アバターやバナーがリセットされる

🤬 Actual Behavior

されない。

📝 Steps to Reproduce

  1. 適当なコンソールからi/update{ avatarId: null }を渡す

📌 Environment

Misskey version: 13.11.3 で再現 13.9.2では再現しない
Your OS:
Your browser:

@Nanashia Nanashia added the ⚠️bug? This might be a bug label Apr 15, 2023
@Nanashia
Copy link
Contributor Author

PR準備中

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️bug? This might be a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant