Webpack build for branch 11.1-dev: 425efe1fe4

This commit is contained in:
Travis CI 2017-08-30 00:18:39 +00:00
parent 8da77f24e9
commit abe12e09da
2 changed files with 3 additions and 3 deletions

View file

@ -7274,7 +7274,7 @@ class Message {
}
_addReaction(emoji, user) {
const emojiID = emoji.id ? `${emoji.name}:${emoji.id}` : encodeURIComponent(emoji.name);
const emojiID = emoji.id ? `${emoji.name}:${emoji.id}` : emoji.name;
let reaction;
if (this.reactions.has(emojiID)) {
reaction = this.reactions.get(emojiID);
@ -7291,7 +7291,7 @@ class Message {
}
_removeReaction(emoji, user) {
const emojiID = emoji.id ? `${emoji.name}:${emoji.id}` : encodeURIComponent(emoji.name);
const emojiID = emoji.id ? `${emoji.name}:${emoji.id}` : emoji.name;
if (this.reactions.has(emojiID)) {
const reaction = this.reactions.get(emojiID);
if (reaction.users.has(user.id)) {

File diff suppressed because one or more lines are too long