Skip to content

Commit

Permalink
fix: ブロックされててもpure RNできる (#12758)
Browse files Browse the repository at this point in the history
なぜかわからないけど元々Quoteはできるようなのでそれに戻しました
  • Loading branch information
anatawa12 authored Dec 23, 2023
1 parent e852f4b commit 2f425aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/core/NoteCreateService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export class NoteCreateService implements OnApplicationShutdown {
}

// Check blocking
if (this.isQuote(data)) {
if (data.renote && !this.isQuote(data)) {
if (data.renote.userHost === null) {
if (data.renote.userId !== user.id) {
const blocked = await this.userBlockingService.checkBlocked(data.renote.userId, user.id);
Expand Down

0 comments on commit 2f425aa

Please sign in to comment.