Skip to content

Commit

Permalink
Fix emoji query
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Mar 21, 2021
1 parent af10d9f commit b774583
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/models/note.ts
Expand Up @@ -301,6 +301,7 @@ export const pack = async (
});
} else {
const rs = Object.keys(reactionCounts)
.filter(x => x && x.startsWith(':'))
.map(x => decodeReaction(x))
.map(x => x.replace(/:/g, ''));

Expand Down

0 comments on commit b774583

Please sign in to comment.