mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-31 05:24:13 +00:00 
			
		
		
		
	merge: merge 2024.12.2 into develop (!847)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/847 Approved-by: Hazelnoot <acomputerdog@gmail.com>
This commit is contained in:
		
						commit
						d6cadc98c3
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -43,7 +43,7 @@ export class ScheduleNotePostProcessorService { | |||
| 	@bindThis | ||||
| 	private async isValidNoteSchedule(note: MiScheduleNoteType, id: string): Promise<boolean> { | ||||
| 		const reply = note.reply ? await this.notesRepository.findOneBy({ id: note.reply }) : undefined; | ||||
| 		const renote = note.reply ? await this.notesRepository.findOneBy({ id: note.renote }) : undefined; | ||||
| 		const renote = note.renote ? await this.notesRepository.findOneBy({ id: note.renote }) : undefined; | ||||
| 		const channel = note.channel ? await this.channelsRepository.findOneBy({ id: note.channel, isArchived: false }) : undefined; | ||||
| 		if (note.reply && !reply) { | ||||
| 			this.logger.warn('Schedule Note Failed Reason: parent note to reply does not exist'); | ||||
|  | @ -78,7 +78,7 @@ export class ScheduleNotePostProcessorService { | |||
| 				const me = await this.usersRepository.findOneBy({ id: data.userId }); | ||||
| 				const note = data.note; | ||||
| 				const reply = note.reply ? await this.notesRepository.findOneBy({ id: note.reply }) : undefined; | ||||
| 				const renote = note.reply ? await this.notesRepository.findOneBy({ id: note.renote }) : undefined; | ||||
| 				const renote = note.renote ? await this.notesRepository.findOneBy({ id: note.renote }) : undefined; | ||||
| 				const channel = note.channel ? await this.channelsRepository.findOneBy({ id: note.channel, isArchived: false }) : undefined; | ||||
| 
 | ||||
| 				let files: MiDriveFile[] = []; | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { | ||||
| 	"type": "module", | ||||
| 	"name": "misskey-js", | ||||
| 	"version": "2024.11.1-rc", | ||||
| 	"version": "2025.1.0-dev", | ||||
| 	"description": "Misskey SDK for JavaScript", | ||||
| 	"license": "MIT", | ||||
| 	"main": "./built/index.js", | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue