連合なしアンケートのUpdateがリモートに配信されてしまうのを修正 (MisskeyIO#177)
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
This commit is contained in:
		| @@ -96,6 +96,8 @@ export class PollService { | ||||
| 		const note = await this.notesRepository.findOneBy({ id: noteId }); | ||||
| 		if (note == null) throw new Error('note not found'); | ||||
|  | ||||
| 		if (note.localOnly) return; | ||||
|  | ||||
| 		const user = await this.usersRepository.findOneBy({ id: note.userId }); | ||||
| 		if (user == null) throw new Error('note not found'); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 riku6460
					riku6460