diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-06-07 20:40:05 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-06-07 20:40:05 +0900 |
| commit | 4c2c762b872e6aafd1fac18e7c06af281e452c1c (patch) | |
| tree | 54a0f8d82d05f642728417ce1622c91a3abc69f3 /src/models | |
| parent | Fix bug (diff) | |
| download | sharkey-4c2c762b872e6aafd1fac18e7c06af281e452c1c.tar.gz sharkey-4c2c762b872e6aafd1fac18e7c06af281e452c1c.tar.bz2 sharkey-4c2c762b872e6aafd1fac18e7c06af281e452c1c.zip | |
Fix #5036
Diffstat (limited to 'src/models')
| -rw-r--r-- | src/models/repositories/note.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models/repositories/note.ts b/src/models/repositories/note.ts index 7b46276930..e5bf8d3f3a 100644 --- a/src/models/repositories/note.ts +++ b/src/models/repositories/note.ts @@ -165,6 +165,7 @@ export class NoteRepository extends Repository<Note> { renoteCount: note.renoteCount, repliesCount: note.repliesCount, reactions: note.reactions, + tags: note.tags.length > 0 ? note.tags : undefined, emojis: reactionEmojis.length > 0 ? Emojis.find({ name: In(reactionEmojis), host: host |