Browse Source

Fix reactions from double puppets.

Fixes #31
Gary Kramlich 3 years ago
parent
commit
47463fa220
1 changed files with 0 additions and 4 deletions
  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