소스 검색

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