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

公開投稿以外の配送を制限する機能 #574

Merged
merged 54 commits into from
Jan 11, 2025

Conversation

kozakura913
Copy link
Collaborator

@kozakura913 kozakura913 commented Dec 18, 2024

What

publicとhome以外のnoteとrenoteを配送しない機能を追加

Why

resolve: #349

Additional info (optional)

ダイレクトは通しても良いかも?
通常投稿以外は対象にしてないけど他に非公開な要素あったっけ?

Checklist

  • コントリビューションガイドを読みました( Read the contribution guide)
  • ローカル環境で動作しました(Test working in a local environment)
  • (必要なら)CHANGELOG_YOJO.mdの更新((If needed) Update CHANGELOG_YOJO.md)
  • (必要なら)テストの追加((If possible) Add tests)

};
})), JSON.stringify(Array.from(expected).reverse()));
});
//FIXME: assert.rejectsがundefinedを返す

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note test

Suspicious comment
await assert.rejects(
async () => await bob.client.request('notes/reactions/create', { noteId: resolvedNote.id, reaction: '😅' }),
(err: any) => {
strictEqual(err.code, 'YOU_HAVE_BEEN_BLOCKED');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
strictEqual(err.code, 'YOU_HAVE_BEEN_BLOCKED');
strictEqual(err.error.code, 'YOU_HAVE_BEEN_BLOCKED');

もだめ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

だめらしい

@penginn-net
Copy link
Collaborator

なんでおちるんだろこれ

@penginn-net
Copy link
Collaborator

image
連合一覧で絞り込みできるとよさそう

Copy link
Contributor

Thank you for sending us a great Pull Request! 👍
Please regenerate cherrypick-js type definitions! 🙏

example:

pnpm run build-cherrypick-js-with-types

@kozakura913 kozakura913 merged commit 5c52968 into yojo-art:develop Jan 11, 2025
20 of 23 checks passed
@kozakura913 kozakura913 mentioned this pull request Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

隔離されたインスタンス
2 participants