Skip to content

Commit

Permalink
[MM-805]: Removed the 'Emoji is not supported by Github' log from the…
Browse files Browse the repository at this point in the history
… reactions hooks (mattermost#807)
  • Loading branch information
Kshitij-Katiyar authored Jul 31, 2024
1 parent d1a6d8d commit 23286a1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ func (p *Plugin) getPostPropsForReaction(reaction *model.Reaction) (org, repo st
func (p *Plugin) ReactionHasBeenAdded(c *plugin.Context, reaction *model.Reaction) {
githubEmoji := p.emojiMap[reaction.EmojiName]
if githubEmoji == "" {
p.client.Log.Warn("Emoji is not supported by Github", "Emoji", reaction.EmojiName)
return
}

Expand Down Expand Up @@ -384,7 +383,6 @@ func (p *Plugin) ReactionHasBeenAdded(c *plugin.Context, reaction *model.Reactio
func (p *Plugin) ReactionHasBeenRemoved(c *plugin.Context, reaction *model.Reaction) {
githubEmoji := p.emojiMap[reaction.EmojiName]
if githubEmoji == "" {
p.client.Log.Warn("Emoji is not supported by Github", "Emoji", reaction.EmojiName)
return
}

Expand Down

0 comments on commit 23286a1

Please sign in to comment.