Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

Commit

Permalink
Implemented Reaction Emoji decoding (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
gamelaster authored and bsansouci committed Apr 1, 2017
1 parent 3698997 commit 5ece1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/listen.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ module.exports = function(defaultFuncs, api, ctx) {
type: "message_reaction",
threadId: delta.deltaMessageReaction.threadKey.threadFbId ? delta.deltaMessageReaction.threadKey.threadFbId : delta.deltaMessageReaction.threadKey.otherUserFbId,
messageId: delta.deltaMessageReaction.messageId,
reaction: delta.deltaMessageReaction.reaction,
reaction: decodeURIComponent(escape(delta.deltaMessageReaction.reaction)),
senderId: delta.deltaMessageReaction.senderId,
userId: delta.deltaMessageReaction.userId
});
Expand Down

0 comments on commit 5ece1ea

Please sign in to comment.