4.13.1
This commit is contained in:
		
							parent
							
								
									47c45d48b1
								
							
						
					
					
						commit
						a77f67fc32
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	"name": "misskey",
 | 
						"name": "misskey",
 | 
				
			||||||
	"author": "syuilo <i@syuilo.com>",
 | 
						"author": "syuilo <i@syuilo.com>",
 | 
				
			||||||
	"version": "4.13.0",
 | 
						"version": "4.13.1",
 | 
				
			||||||
	"clientVersion": "1.0.6783",
 | 
						"clientVersion": "1.0.6783",
 | 
				
			||||||
	"codename": "nighthike",
 | 
						"codename": "nighthike",
 | 
				
			||||||
	"main": "./built/index.js",
 | 
						"main": "./built/index.js",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -26,9 +26,9 @@ type Type = 'reply' | 'renote' | 'quote' | 'mention';
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
class NotificationManager {
 | 
					class NotificationManager {
 | 
				
			||||||
	private notifier: IUser;
 | 
						private notifier: IUser;
 | 
				
			||||||
	private note: any;
 | 
						private note: INote;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	constructor(notifier: IUser, note: any) {
 | 
						constructor(notifier: IUser, note: INote) {
 | 
				
			||||||
		this.notifier = notifier;
 | 
							this.notifier = notifier;
 | 
				
			||||||
		this.note = note;
 | 
							this.note = note;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					@ -192,7 +192,7 @@ export default async (user: IUser, data: {
 | 
				
			||||||
	// Serialize
 | 
						// Serialize
 | 
				
			||||||
	const noteObj = await pack(note);
 | 
						const noteObj = await pack(note);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	const nm = new NotificationManager(user, noteObj);
 | 
						const nm = new NotificationManager(user, note);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	const render = async () => {
 | 
						const render = async () => {
 | 
				
			||||||
		const content = data.renote && data.text == null
 | 
							const content = data.renote && data.text == null
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue