リモートノートで意図せずローカルカスタム絵文字が使われてしまうことがあるのを修正 (#7889)
* 意図せずローカルカスタム絵文字が使われてしまうのを修正 * CHANGELOG Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
		
							parent
							
								
									cfcc626de2
								
							
						
					
					
						commit
						e7660bc8db
					
				
					 2 changed files with 3 additions and 6 deletions
				
			
		|  | @ -22,6 +22,7 @@ | ||||||
| ### Bugfixes | ### Bugfixes | ||||||
| - クライアント: テーマの管理が行えない問題を修正 | - クライアント: テーマの管理が行えない問題を修正 | ||||||
| - API: アプリケーション通知が取得できない問題を修正 | - API: アプリケーション通知が取得できない問題を修正 | ||||||
|  | - クライアント: リモートノートで意図せずローカルカスタム絵文字が使われてしまうことがあるのを修正 | ||||||
| - ActivityPub: not reacted な Undo.Like がinboxに滞留するのを修正 | - ActivityPub: not reacted な Undo.Like がinboxに滞留するのを修正 | ||||||
| 
 | 
 | ||||||
| ## 12.92.0 (2021/10/16) | ## 12.92.0 (2021/10/16) | ||||||
|  |  | ||||||
|  | @ -27,8 +27,7 @@ export default defineComponent({ | ||||||
| 			default: false | 			default: false | ||||||
| 		}, | 		}, | ||||||
| 		customEmojis: { | 		customEmojis: { | ||||||
| 			required: false, | 			required: false | ||||||
| 			default: () => [] |  | ||||||
| 		}, | 		}, | ||||||
| 		isReaction: { | 		isReaction: { | ||||||
| 			type: Boolean, | 			type: Boolean, | ||||||
|  | @ -58,10 +57,7 @@ export default defineComponent({ | ||||||
| 		}, | 		}, | ||||||
| 
 | 
 | ||||||
| 		ce() { | 		ce() { | ||||||
| 			let ce = []; | 			return this.customEmojis || this.$instance?.emojis || []; | ||||||
| 			if (this.customEmojis) ce = ce.concat(this.customEmojis); |  | ||||||
| 			if (this.$instance && this.$instance.emojis) ce = ce.concat(this.$instance.emojis); |  | ||||||
| 			return ce; |  | ||||||
| 		} | 		} | ||||||
| 	}, | 	}, | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue