Skip to content

Commit

Permalink
fix: ブロックされててもpure RNできる (misskey-dev#12758)
Browse files Browse the repository at this point in the history
なぜかわからないけど元々Quoteはできるようなのでそれに戻しました
  • Loading branch information
anatawa12 authored and camilla-ett committed Jan 2, 2024
1 parent 3dd908c commit bdabcca
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 bdabcca

Please sign in to comment.