fix: ブロックされててもpure RNできる (#12758)

なぜかわからないけど元々Quoteはできるようなのでそれに戻しました
This commit is contained in:
anatawa12 2023-12-23 17:55:34 +09:00 committed by GitHub
parent e852f4b60d
commit 2f425aa03f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -293,7 +293,7 @@ export class NoteCreateService implements OnApplicationShutdown {
} }
// Check blocking // Check blocking
if (this.isQuote(data)) { if (data.renote && !this.isQuote(data)) {
if (data.renote.userHost === null) { if (data.renote.userHost === null) {
if (data.renote.userId !== user.id) { if (data.renote.userId !== user.id) {
const blocked = await this.userBlockingService.checkBlocked(data.renote.userId, user.id); const blocked = await this.userBlockingService.checkBlocked(data.renote.userId, user.id);