From 3bec23fce71b5cf32f72c0d8c1f7d3c4de9bde2c Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 9 Oct 2018 01:33:40 +0900 Subject: [PATCH] Improve readability --- src/client/app/common/scripts/note-subscriber.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/app/common/scripts/note-subscriber.ts b/src/client/app/common/scripts/note-subscriber.ts index 4315f1a02..9a9a3c119 100644 --- a/src/client/app/common/scripts/note-subscriber.ts +++ b/src/client/app/common/scripts/note-subscriber.ts @@ -13,7 +13,7 @@ export default prop => ({ }, $_ns_isRenote(): boolean { - return (this.$_ns_note_.renote && + return (this.$_ns_note_.renote != null && this.$_ns_note_.text == null && this.$_ns_note_.fileIds.length == 0 && this.$_ns_note_.poll == null);