mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	fix bug
This commit is contained in:
		
							parent
							
								
									6c3f052996
								
							
						
					
					
						commit
						d91fa1a37a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -33,7 +33,7 @@ export const getNoteSummary = (note: any, locale: any): string => {
 | 
			
		|||
	// 返信のとき
 | 
			
		||||
	if (note.replyId) {
 | 
			
		||||
		if (note.reply) {
 | 
			
		||||
			summary += `\n\nRE: ${summarize(note.reply, locale)}`;
 | 
			
		||||
			summary += `\n\nRE: ${getNoteSummary(note.reply, locale)}`;
 | 
			
		||||
		} else {
 | 
			
		||||
			summary += '\n\nRE: ...';
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			@ -42,7 +42,7 @@ export const getNoteSummary = (note: any, locale: any): string => {
 | 
			
		|||
	// Renoteのとき
 | 
			
		||||
	if (note.renoteId) {
 | 
			
		||||
		if (note.renote) {
 | 
			
		||||
			summary += `\n\nRN: ${summarize(note.renote, locale)}`;
 | 
			
		||||
			summary += `\n\nRN: ${getNoteSummary(note.renote, locale)}`;
 | 
			
		||||
		} else {
 | 
			
		||||
			summary += '\n\nRN: ...';
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue