Revert "fix(backend): renote判定がおかしい"
This reverts commit f43599552fb5764aa3121b083e441d3946c72cd8.
This commit is contained in:
parent
f43599552f
commit
e852f4b60d
@ -293,7 +293,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
||||
}
|
||||
|
||||
// Check blocking
|
||||
if (data.renote && data.text == null && data.poll == null && (data.files == null || data.files.length === 0)) {
|
||||
if (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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user