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 Schmavery committed Apr 1, 2017
1 parent c716d06 commit 7c6e3ea
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 @@ -181,7 +181,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 7c6e3ea

Please # to comment.