浏览代码

Fix reactions from double puppets.

Fixes #31
Gary Kramlich 3 年之前
父节点
当前提交
47463fa220
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      bridge/portal.go

+ 0 - 4
bridge/portal.go

@@ -845,10 +845,6 @@ func (p *Portal) handleMatrixReaction(evt *event.Event) {
 }
 
 func (p *Portal) handleDiscordReaction(user *User, reaction *discordgo.MessageReaction, add bool) {
-	if user.ID == reaction.UserID {
-		return
-	}
-
 	intent := p.bridge.GetPuppetByID(reaction.UserID).IntentFor(p)
 
 	var discordID string