diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-17 07:25:34 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-17 07:25:34 +0900 |
| commit | 946c3a25b96a8f9a33d77e94394916aa0298e4a8 (patch) | |
| tree | 4eb8ca3147d2079bf8729879184c8fadff69a4ff | |
| parent | Update schemas.ts (diff) | |
| download | misskey-946c3a25b96a8f9a33d77e94394916aa0298e4a8.tar.gz misskey-946c3a25b96a8f9a33d77e94394916aa0298e4a8.tar.bz2 misskey-946c3a25b96a8f9a33d77e94394916aa0298e4a8.zip | |
Clean up
Diffstat (limited to '')
| -rw-r--r-- | src/client/app/common/scripts/note-subscriber.ts | 1 | ||||
| -rw-r--r-- | src/models/repositories/note.ts | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/client/app/common/scripts/note-subscriber.ts b/src/client/app/common/scripts/note-subscriber.ts index 02d810ded9..d881fe01ce 100644 --- a/src/client/app/common/scripts/note-subscriber.ts +++ b/src/client/app/common/scripts/note-subscriber.ts @@ -137,7 +137,6 @@ export default prop => ({ Vue.set(this.$_ns_target, 'deletedAt', body.deletedAt); Vue.set(this.$_ns_target, 'renote', null); this.$_ns_target.text = null; - this.$_ns_target.tags = []; this.$_ns_target.fileIds = []; this.$_ns_target.poll = null; this.$_ns_target.geo = null; diff --git a/src/models/repositories/note.ts b/src/models/repositories/note.ts index 98ed2bddc1..d684b47e48 100644 --- a/src/models/repositories/note.ts +++ b/src/models/repositories/note.ts @@ -178,12 +178,11 @@ export class NoteRepository extends Repository<Note> { name: In(reactionEmojis), host: host }) : [], - tags: note.tags, fileIds: note.fileIds, files: DriveFiles.packMany(note.fileIds), replyId: note.replyId, renoteId: note.renoteId, - uri: note.uri, + uri: note.uri || undefined, ...(opts.detail ? { reply: note.replyId ? this.pack(note.replyId, meId, { |